New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'module' object has no attribute 'bgsegm' #42
Comments
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" ***@***.***> 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
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdTqjydPSdAf6n8kpkH9-HxecXbkTpkRks5tWl7wgaJpZM4SLctL>
.
|
if you have not built contrib module, |
It works. Thanks for the help.
…On Feb 20, 2018 11:53 AM, "Sergei" ***@***.***> 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
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdTqj2cq10MEO29s_aN-nf6H60CLOVxqks5tWmTbgaJpZM4SLctL>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
The text was updated successfully, but these errors were encountered: