I am looking to from MATLAB from Python. I need to use the MATLAB Image Acquisition Toolbox to acquire few images from a video camera.
MATLAB seems to be a nice solution because the Image Acquisition is easy and i have to do some image processing afterwards. I have searched for a long time but I still haven't found anything working to do this from Python.
Here are some of my tries:
mlabwrap 1.1 - run a MATLAB-script:
A MATLAB script like:
vid = videoinput('testadaptor');
img = getsnapshot(vid);
imwrite(img,'./image.png','png');
You can run this script by using:
mlab.run('script.m')
But, where to pass some arguments(directory, image description, etc)? I haven't found anything because of mlabwraps poor documentary. I've used the mlab.lookfor('theme of interest') function without success
mlabwrap 1.1 - Image acqusisition by using mlab functions:
At first sight no possibility to read out an "video input object", no functions such as:
image = getsnapshot(video input object)
imwrite(image,'directiory\image.png','png')
python-matlab-bridge
https://github.com/jaderberg/python-matlab-bridge
I've got Windows7 64 Bit as OS. They say, its only working on unix.
Nipype
http://nipy.sourceforge.net/nipype/api/generated/nipype.interfaces.matlab.html
Seems to be very new. I havent tried to install it. It seems to be fitting to my problem but not to windows, i guess.
PyMAT
No python 2.7 support
So is there anyone who can help me?