I'm trying to connect my iPhone camera to python script built on OpenCV library. OpenCV works fine with built-in camera on OSX but I can't find out how to connect it with some kind of remote or mobile camera. Tried to use soft that emulates web-camera on macOS, but openCV can't recognize it. I can't find any way out. Any ideas?
Thanks.
Unfortunately, video capture in current OpenCV (2.4.1) is not supported on iOS (iPhone/iPad) platform. But as far as i know, there is no possibilities to connect a hardrare camera of your mobile device to python app in such way.
But in general a good tutorial how to setup video capture on iPhone camera can be found here:OpenCV Tutorial - Part 3 Also you can read about image processing using OpenCV on iPhone and iPad in OpenCV Tutorial - Part 1 and OpenCV Tutorial - Part 2.
The Git Repository with the Code for the tutorials here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With