shubham0204/FaceRecognition_With_FaceNet_Android

[Feature Request] : Serializing the imageData variable in MainActivity.kt

Elderpotato opened this issue · 6 comments

Model is working fine, thanks for that. But how can I switch the metric used to cosine similarity so that I can compare its performance against l2norm thanks. Btw the variable metrictobeused in frameanalyzer kt as stated in the documents does not exist.

@Elderpotato, see the FrameAnalyser class, see line no 57. Also, make sure you are using the latest commit.

@shubham0204 ok will check it out, thanks for the clarification. In any case, is there a way to store the training embeddings on the device so that we dont have to process the image folder everytime we restart the application? Appreciate if you could help on this matter.

@Elderpotato I'll consider your request for the future development of the project. We can serialize the imageData variable ( in MainActivity.kt ) and store it in the user's internal storage

I have converted the embeddings in Json Format and reading on launching the applicaition. here is the format i have used.

On Launching I am reading using Gson.

latest.json.zip

@Elderpotato, we have added the feature to serialize the imageData variable in the latest commit. Please check it by updating your project.

This issue was closed due to inactivity.