Skip to content
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

Operation error #12

Closed
Tonity opened this issue Apr 30, 2019 · 1 comment
Closed

Operation error #12

Tonity opened this issue Apr 30, 2019 · 1 comment

Comments

@Tonity
Copy link

Tonity commented Apr 30, 2019

hello,I met a problem when I using the command : python superpixel-inceptionV1OnFire.py models/test.mp4 . And it reported problems as follow: File "superpixel-inceptionV1OnFire.py", line 92, in slic = cv2.ximgproc.createSuperpixelSLIC(small_frame, region_size=22)
AttributeError: module 'cv2' has no attribute 'ximgproc' . I got no idea about that ,could you please give me a hand?

@tobybreckon
Copy link
Owner

You need to use opencv with the extra modules build/enabled as per the README - "(requires opencv extra modules - ximgproc module for superpixel segmentation)".

See: https://github.com/opencv/opencv_contrib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants