[英]seeds.py file wont run on PostgresQL db, saying mapping is already generated?
[英]opencv 3.0 contrib seeds.py
我正在嘗試使用opencv_contrib
模塊,但是成功構建了最新的opencv (3.0)
和opencv_contrib
之后,當我在python2子文件夾的opencv_contrib
文件夾中運行示例時,我得到了:
opencv_contrib/samples/python2$ python seeds.py
This sample demonstrates SEEDS Superpixels segmentation
Use [space] to toggle output mode
Usage:
seeds.py [<video source>]
init done
opengl support available
Traceback (most recent call last):
File "seeds.py", line 54, in <module>
seeds = cv2.ximgproc.createSuperpixelSEEDS(width, height, channels,
AttributeError: 'module' object has no attribute 'ximgproc'
我錯過了什么?
它說您需要在seeds.py
之后提供視頻源,如以下消息中所述:
Usage:
seeds.py [<video source>]
^
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.