tomasz-lewicki / ai-thermometer

Fever screening with IR & RGB cameras and Deep CNNs
151 stars 40 forks source link

where is requirements.txt #2

Closed jazz-ai closed 4 years ago

jazz-ai commented 4 years ago

need requirements.txt

tomasz-lewicki commented 4 years ago

Hi @jazz-ai !

The pip3 install -r requirements.txt was leftover from the previous AI Thermometer version that depended on ROS, as well as some other libraries. I will delete that line from the instructions.

Current version has no external requirements other than OpenCV 4.4 and nvidia Jetpack 4.4.

Let me know if you have any other issues.

jazz-ai commented 4 years ago

I tried to run main.py It is showing uvc_open error -3 and unable to start anything

tomasz-lewicki commented 4 years ago

It means that your user doesn't have r/w access to the USB ports, so it cannot access the Pure Thermal device.

junartho commented 4 years ago

hi @tomek-l nice codes. please tell me how to handle r/w access on usb ports.

tomasz-lewicki commented 4 years ago

Hi @junartho

If you want a quick and dirty solution do:

echo 'SUBSYSTEM=="usb",  ENV{DEVTYPE}=="usb_device", GROUP="plugdev", MODE="0664"' | sudo tee /etc/udev/rules.d/10-libuvc.rules 
sudo udevadm trigger

(this gives camera access to all users)

For a better, fine-grained permission setup, create a new group, give permissions to that group only and your user to the newly created group. You can read more here.

tomasz-lewicki commented 4 years ago

Let me know if that solved the problem :slightly_smiling_face:

junartho commented 4 years ago

thank you for very fast response. 👍