Python: VideoCapture: "null argument to internal routine" (Bug #848)


Added by Petter Strandmark about 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:python bindings
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

The following code fails on Windows 7, 64-bit using OpenCV 2.2 with Python 64-bit bindings:

import cv
camera = cv.VideoCapture(0)
camera.isOpened()

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: null argument to internal routine

The old camera interface (camera = cv.CreateCameraCapture(0)) works fine.


Associated revisions

Revision 30f9710d
Added by Alexander Mordvintsev almost 14 years ago

fixed #808 and #848

Revision 4b49b849
Added by Vadim Pisarevsky almost 12 years ago

Merge pull request #848 from pengx17:master_ocl_platform_name

History

Updated by Alexander Mordvintsev almost 14 years ago

fixed in SVN trunk, rev. 5116

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF