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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error

Akash671 opened this issue · comments

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'

anyone please help me to resolved this error..

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: