TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi copied to clipboard

Step 1e. Run the TensorFlow Lite model failed

Open bernardleung opened this issue 3 years ago • 2 comments
trafficstars

(tflite1-env) pi@raspberrypi:~/tflite1 $ python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model Traceback (most recent call last): File "/home/pi/tflite1/TFLite_detection_webcam.py", line 180, in frame = frame1.copy() AttributeError: 'NoneType' object has no attribute 'copy'

bernardleung avatar Apr 28 '22 18:04 bernardleung

Same for me today. Anyone solve this issue or knows what the problem is? I am using camera module 3. Is that supported already?

Kunstbanause avatar Feb 26 '23 19:02 Kunstbanause

I had to enable legacy support for the camera module which is only in the command-line version of raspi-config. If any one is watching this issue and word on libcamera support.

xcellnet avatar May 19 '23 19:05 xcellnet