nwesem / mtcnn_facenet_cpp_tensorRT

Face Recognition on NVIDIA Jetson (Nano) using TensorRT
GNU General Public License v3.0
203 stars 72 forks source link

Cannot read from USB camera #32

Open shubham-shahh opened 3 years ago

shubham-shahh commented 3 years ago

Hi @nwesem I am using Jetson nano and followed all the steps you've mentioned in readme when I run ./mtcnn_facenet_cpp_tensorRT i am getting the following output i have attached in the .txt file iss.txt

shubham-shahh commented 3 years ago

Hi @nwesem I am using Jetson nano and followed all the steps you've mentioned in readme when I run ./mtcnn_facenet_cpp_tensorRT i am getting the following output i have attached in the .txt file iss.txt

solved it by changing the value in main.cpp line 38 set the booean to false

Can i use multiple usb or rtsp sources?

Tetsujinfr commented 3 years ago

you need to change the code to make the program more flexible regarding type of inputs. You can connect mpi or usb cameras no problem. actually you can tweak the code to pass a gstreamer string as an argument to the prgram, very flexible this way regarding inputs.

I think you can close this issue btw given you auto-resolved it.