Qengineering / Face-Recognition-with-Mask-Jetson-Nano

Recognize 2000+ faces on your Jetson Nano with additional mask detection, auto-fill and anti-spoofing
https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html
BSD 3-Clause "New" or "Revised" License
35 stars 6 forks source link

How to Disable auto database fill ? #9

Closed rsingh2083 closed 3 years ago

rsingh2083 commented 3 years ago

How can I disable the auto database fill feature. If the face isnt found in the DB, I dont want to add it automatically. How to do this ?

Qengineering commented 3 years ago

Main.cpp line 32, it's defined: #define AUTO_FILL_DATABASE Without a comment // in front of the line, it's ON. Setting //#define AUTO_FILL_DATABASE will disable the auto fill. You need to recompile the code in order to make a modification take place. You ca also look in the code and follow the AUTO_FILL_DATABASE and change the directive ifdef for and regular if and use a variable of your choice.