Open mostafarahim opened 4 years ago
That's weird. There is no such issues in my end. However, what I can see from your output is that your FPS is too low which may cause the problem. I would suggest you debug the code line by line to find out the point from where the code may cause an issue. Another approach can be cythonizing the .py files so that you can run your code in c/c++ using GCC which will results in much better FPS alias better performance on RPI.
the output has no detection as you can see
python3.5 /home/pi/o/object_detection.py Loading network..... Network successfully loaded [INFO] elasped time: 4.74 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.41 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.45 [INFO] approx. FPS: 0.2 [INFO] elasped time: 5.33 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.46 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.11 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.89 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.57 [INFO] approx. FPS: 0.2 [INFO] elasped time: 8.39 [INFO] approx. FPS: 0.1 [INFO] elasped time: 7.41 [INFO] approx. FPS: 0.1
Hello @mostafarahim! I'm also quite having a hard time since I'm using Raspberry Pi instead of Windows. Were you able to successfully run the codes in here?
the output has no detection as you can see
python3.5 /home/pi/o/object_detection.py Loading network..... Network successfully loaded [INFO] elasped time: 4.74 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.41 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.45 [INFO] approx. FPS: 0.2 [INFO] elasped time: 5.33 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.46 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.11 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.89 [INFO] approx. FPS: 0.2 [INFO] elasped time: 4.57 [INFO] approx. FPS: 0.2 [INFO] elasped time: 8.39 [INFO] approx. FPS: 0.1 [INFO] elasped time: 7.41 [INFO] approx. FPS: 0.1