4

Is there a way to capture with OpenCV from an external capture device ( e.g. AJA IO HD) or any other digitizer (e.g. analog-to-digital converter)? Or in other words, what do I need to be able to capture (drivers, workflow) ? If there is an easy way to capture with Python (same setup), I would also be glad to hear about it. And it would need to be for Mac.

Thanks for your time!

digit
  • 1,513
  • 5
  • 29
  • 49

1 Answers1

1

Yes, there are quite a few capture devices supported by OpenCV. The VideoCapture API gives you access to supported capture cards, provided the appropriate libraries are compiled in at build time.

This answer provides a list of platforms and backend APIs:

For Mac support, the QuickTime backend should provide the best driver support. I believe both AJA and Blackmagic capture cards should support this. You can verify the QuickTime capture support using a tool such as HackTV.

The Python bindings should provide equivalent access to control these features.

Community
  • 1
  • 1
gavinb
  • 19,278
  • 3
  • 45
  • 60
  • Great. Thanks for the helpful answer. So Quicktime would work I guess, but from what I understand it is optional and I have to turn that on during the build. Does anybody have experience with this building :) Thanks again. Sorry, one more thing, Where can I get HackTV. It seems all links for this are dead. – digit Jun 18 '12 at 12:52
  • These build instructions http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port should work. You should probably check to see if you need to use QuickTime or QTKit capturing first. Download FiendishThings from ADC and look at the `vdig` components. Assuming it's QuickTime, try using MungGrab or BrideOfMungGrab to view. I don't know what's happened to HackTV but I guess it's retired. – gavinb Jun 19 '12 at 03:24