Qengineering / Face-Recognition-Raspberry-Pi-64-bits

Recognize 2000+ faces on your Raspberry Pi 4 with database auto-fill and anti-spoofing
https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html
BSD 3-Clause "New" or "Revised" License
69 stars 19 forks source link

Cannot find net.h #15

Closed wildanazman closed 2 years ago

wildanazman commented 2 years ago

image Failed to compile because of this error. TMtCNN.h:8:10: fatal error: net.h: No such file or directory

Qengineering commented 2 years ago

@wildanazman,

Did you install ncnn on your RPi beforehand? net.h is an ncnn header file.

image

wildanazman commented 2 years ago

image Yes already install, but I think the program does not read the net.h file from the folder. Should I copy all the content in ncnn folder to src folder?

Qengineering commented 2 years ago

The other cause can be a missing search path in code::blocks. image

wildanazman commented 2 years ago

image Got this error.

Qengineering commented 2 years ago

Those errors are all OpenCV related. Again, please check your OpenCV installation and/or the paths given in code::blocks

wildanazman commented 2 years ago

Reinstalled OpenCV and it worked fine. Thank you so much