EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi

<!DOCTYPE html> SyntaxError: invalid syntax

reokyouma opened this issue · 1 comments

File "Object_detection_picamera.py", line 7 <!DOCTYPE html> ^ SyntaxError: invalid syntax

Hi i am getting this error, how can i resolve this?

You somehow downloaded the GitHub HTML file for Object_detection_picamera.py, rather than the script itself. Delete the Object_detection_picamera.py file, then re-download it using:

wget https://raw.githubusercontent.com/EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi/master/Object_detection_picamera.py

Then, try running the script.