DEV Community

Discussion on: Building an Open Source Realtime Face Recognition Android App

Collapse
 
nikolaigospodinov96 profile image
Nikolay Yordanov Gospodinov

Hello! I have difficulty using the sklearn.fetch_lfw_dataset dataset. Would you tell me how to add my image!

Collapse
 
nizarmah profile image
Nizar

Hello! You'll have to add your image to the dictionary manually after fetching the dataset. You'll need to follow the same format as other images. So try to grab one image record and log it, and duplicate that with your own image.

I'm planning to post a machine learning blog post about this in more details in the future. :D

Collapse
 
nikolaigospodinov96 profile image
Nikolay Yordanov Gospodinov

I apologize for the perhaps stupid question but where exactly do you add your data (image and text). In the main.ipynb or somewhere else!

Thread Thread
 
nizarmah profile image
Nizar

No worries! :D You'll want to add the image and the text in the main.ipynb before the data is used to train the model. There should be multiple guides online about adding custom images to the sklearn dataset.

Collapse
 
nikolaigospodinov96 profile image
Nikolay Yordanov Gospodinov

Thank you very much!