Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Scanning working incorrectly on Windows #10

@YenTheFirst

Description

@YenTheFirst

from #8 (comment)

scanning 01
OpenCV Error: Bad argument (Array should be CvMat or IplImage) in cvGetSize, fil
e ......\opencv-2.4.7.2\modules\core\src\array.cpp, line 1238
Traceback (most recent call last):
File "G:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "G:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "D:\Projects\3rd Party\card_scan\utils\run_scan.py", line 53, in

capture_box(cam, next_box)

File "D:\Projects\3rd Party\card_scan\utils\run_scan.py", line 18, in capture_
box
captures = scan_card.watch_for_card(cam)
File "scan_card.py", line 51, in watch_for_card
size = cv.GetSize(img)
cv2.error: Array should be CvMat or IplImage

I'm on Windows, not sure if I installed incorrect versions of anything (I did have to manually edit Elixir because it was importing incorrectly from SQLAlchemy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions