HackerShackOfficial / Smart-Security-Camera

IoT security camera running open-cv for object detection 📹
561 stars 276 forks source link

Exception AttributeError: "'VideoCamera' object has no attribute 'vs'" #20

Open Devraj004 opened 6 years ago

Devraj004 commented 6 years ago

Hi Friends, I have installed the code successfully. But when running python main.py file getting attribute error.

Any help please ?

kumar4Vipul commented 5 years ago

In main.py file if name == "main": app.run(host='0.0.0.0', port=8000, debug=False) debug need to be set to False https://raspberrypi.stackexchange.com/questions/51406/cannot-connect-to-picamera-when-using-it-with-flask

donaca4555 commented 3 years ago

not sure if it's connected.. I've got the same error when tried running a flask picamera proccess with node execSync. running it with exec solved it in my case.

hadi-source commented 3 years ago

not sure if it's connected.. I've got the same error when tried running a flask picamera proccess with node execSync. running it with exec solved it in my case.

can you please elaborate it