Ank-Cha / Social-Distancing-Analyser-COVID-19

A social distancing analyzer AI tool to regulate social distancing protocol using video surveillance of CCTV cameras and drones. Social Distancing Analyser to prevent COVID19
Other
407 stars 198 forks source link

error #13

Open Akash671 opened 3 years ago

Akash671 commented 3 years ago

in my case it is giving this error ...

(base) C:\Users\Akash Kumar\Downloads\project_ML>D:/anaconda/python.exe "c:/Users/Akash Kumar/Downloads/project_ML/Social-Distancing-Analyser-COVID-19-master/Social-Distancing-Analyser-COVID-19-master/social distancing analyser 2.0.py" Video name in videos folder: video.mp4 Processing finished: openop_video.mp4 Traceback (most recent call last): File "c:/Users/Akash Kumar/Downloads/project_ML/Social-Distancing-Analyser-COVID-19-master/Social-Distancing-Analyser-COVID-19-master/social distancing analyser 2.0.py", line 252, in writer.release() AttributeError: 'NoneType' object has no attribute 'release'

Akash671 commented 3 years ago

anyone please help me to resolved this error..

sakshipardeshi commented 2 years ago

got same error, i uploaded the "video.mp4" file in colab and edited the path in the code to vid_path = "./video.mp4" got error: KeyboardInterrupt Traceback (most recent call last)

in () 69 net.setInput(blob) 70 start = time.time() ---> 71 layerOutputs = net.forward(ln) 72 end = time.time() 73 KeyboardInterrupt: