Closed Ashniu123 closed 6 years ago
Have you checked whether the camera is accessible? Maybe the camera can't be accessed -- that is why you got 'NoneType' object has no attribute 'astype'
. Have you tried to open the camera with a normal openCV VideoCapture
?
This error got solved by building opencv (I also did install its submodules) from source. This issue can be closed now
I set saveVideo = False, and now it's working for me.
@Ashniu123 can you explain how to solve this problem? thank you
Here is my traceback:
This is my run.py
In addition to this I had changed the /darkflow/net/help.py a little bit for the new opencv Line 88: fgbg = cv2.createBackgroundSubtractorMOG2()
Any idea how to solve the traceback error?