Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add own picture #16

Open
wildanazman opened this issue Apr 27, 2022 · 1 comment
Open

Add own picture #16

wildanazman opened this issue Apr 27, 2022 · 1 comment

Comments

@wildanazman
Copy link

Can I add my own picture to the database? I realize that when I add my own picture it got a segmentation error. Do I need to crop the picture?

@Qengineering
Copy link
Owner

First, get your app working with a camera. See lines 255,256 in main.cpp or the last part of our site.
Make sure you have #define AUTO_FILL_DATABASE active (not comment out).
Once you put your face in front of the camera it will take a snapshot and places it in the database.
The next time you start the app, the database (with your face) will be loaded.
It is better to add pictures processed by the app than to place your own images directly in the database.
The app performs some alignment on your picture (line 299 in main.cpp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants