Closed nidhinkk closed 6 years ago
whats your version of opencv? bgsegm was in contrib module of opencv but im not sure what is situation now
Opencv version is 3.4.0
On Feb 20, 2018 11:28 AM, "Sergei" notifications@github.com wrote:
whats your version of opencv? bgsegm is in contrib module of opencv but it was unified with the main module some time ago
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bendidi/Tracking-with-darkflow/issues/42#issuecomment-366874665, or mute the thread https://github.com/notifications/unsubscribe-auth/AdTqjydPSdAf6n8kpkH9-HxecXbkTpkRks5tWl7wgaJpZM4SLctL .
if you have not built contrib module, pip install opencv-contrib-python
It works. Thanks for the help.
On Feb 20, 2018 11:53 AM, "Sergei" notifications@github.com wrote:
if you have not built contrib module, pip install opencv-contrib-python
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bendidi/Tracking-with-darkflow/issues/42#issuecomment-366878346, or mute the thread https://github.com/notifications/unsubscribe-auth/AdTqj2cq10MEO29s_aN-nf6H60CLOVxqks5tWmTbgaJpZM4SLctL .
This error was generated when I run the file
Running entirely on CPU 2018-02-20 11:13:14.834956: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA Finished in 5.81529521942s Traceback (most recent call last): File "run.py", line 30, in
tfnet.camera()
File "/home/itsme/Documents/Tracking-with-darkflow-master/Tracking-with-darkflow/darkflow/darkflow/net/help.py", line 88, in camera
fgbg = cv2.bgsegm.createBackgroundSubtractorMOG()
AttributeError: 'module' object has no attribute 'bgsegm'
Can anybody tell whats the issue?