What Webcam is Compatible with MATLAB - matlab

I am working on a project of mine which requires a webcam and MATLAB. I have a Logitech Webcam, and I dont know if I could talk to it through MATLAB because Im trying to work with images and image processing, so I just want to know if there is a way to find out if the webcam is combatible with matlab or if I need to get some other type of webcam to get the job done, if I do need to get another one, it would be helpful if you suggest a certain cam that is cheap and available around.
Thank you.

I've used several Logitech webcams with the Image Acquisition Toolbox on Windows. You'll find a list of supported hardware here.

Related

Camera bt656 without i2c. How capture?

I have camera (camera + videoprocessor TW8834) sending video data over bt656 protocol, but the camera interface have not i2c on cable, so, it isn't recognizing by linux video driver.Is there some way to capture video from my camera in linux without modifieng the video driver?
I got advice to make a fake probe in the existing video driver (sun6i), but i don't think that it is the optimal way. May be i can write some driver or something simmilar that will snap up i2c messaging with my camera? Can i use it with default video driver by this way?
May be, are there some other way?
What should i learn to solve my problem?
I solve my problem by driver and DeviceTree modification. OS Armbian, easy to build, easy to make and apply patches. Big community. Some course about kernel hacking, which was usefull for me: https://courses.linuxchix.org/kernel-hacking-2002.html
For create solution we with my collegue spend about 4 days, we both was non-experienced in kernel modification earlier. I hope, this information will help someone with similar problem.

Can MATLAB do realtime motion tracking?

I tried to track motion in Matlab by using this tutorial (http://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html) and it works fine but it implies video as source to work.
I wanna know if it's possible to track motion by using the same tutorial but in real time by using camera as source!
Everything is possible, just please try to find some stuff by yourself before asking here.
I think you may find the information you need in this link:
http://www.matlabtips.com/realtime-processing/
Alternately, you could of course just store the camera output as a (very short) video and continuously analyse that instead.
As of release R2014a, MATLAB includes support for USB webcams. If you have an older version, or if you want to use a high-end camera, you would need the Image Acquisition Toolbox.
Once you are able to get frames from the camera, you can reuse almost all of the code in the multiple object tracking example. You would only need to rewrite the readFrame function with code to get a frame from the camera.

How to access Iphone camera using MATLAB Mobile

I have been searching for how to access the iphone camera using MATLAB and I have found it can be accessed by app called IP CAM with the use of a local network. Yet the solution of IP Cam program existed on apple store isn't working so well for my application because I'm trying to build a real time image capturing program using Iphone's camera and Matlab mobile with later processing (and this method keeps MATLAB busy as long as it display the scene and I still want MATLAB to run in the foreground instead of IP Cam).
So far I've downloaded MATLAB Mobile and the connector and connected the Iphone to MATLAB on my laptop, so is there any one who knows how to access the Iphone's camera on MATLAB Mobile and capture the image so that it can be stored on MATLAB workspace for later processing ? or is there any one who can suggest tutorials any piece of material helping me through this.I'd appreciate your answer very much and thank you in advance.
P.S: if there is a solution on android's devices it's also work for me.
I am not aware of iPhone based solutions but here is an opportunity for android based system. I will suggest you to used Sensor EX. I have used it for sometime to acquire Accelerometer, Gyroscope data set along with live images. This tool has bindings available for MATLAB beside other programming environments. Feel free to ask questions if you cannot figure out that how this system works.

iPhone 5s Camera Calibration Parameters

I was wondering if anyone out there had any reliable intrinsic or extrinsic parameters they would be willing to share with regards to the iPhone 5s camera? I'm working in OpenCV and would like to undistort my images prior to processing. I have been working on code to calibrate on my own, but the end results are pretty painful at this point. If anyone has any clean c++ links to code I'd appreciate that as well. I've been trying to piecemeal something together from older tutorials, and it's not going so hot.
As I understand, I think I am looking for parameters like fx, fy, cx, cy as well as 5 distortion parameters (k1,k2,k3,r1,r2). Though I know each camera is a unique and beautiful snowflake, I just have to think that as a ballpark there have to be some stable references to these values for this particular camera.
Thank you all for the help over the years.
Check out the samples folder in the OpenCV directory. I've been using the Python script from there, but of course, there's a C++ version as well.
As Adi Shavit said, the extrisic parameters can only be determined relativ so some other coordinate system. Further more I believe that the distortion coefficients are different for each camera chip and there is no general way of knowing them without calibration.

matlab live video extraction

How do you take a live video feed from a webcam and selectively extract frames of it? Do I need a special toolbox or can this be done through normal matlab functions?
I have the image acquisition toolbox, but haven't seen a good way to use it for this yet...
The image acquisition toolbox is all you need. Just look at the documentation and it should be pretty straight forward.
make sure that the webcam is properly installed and connected.
type the following code:
obj = videoinput('winvideo', 1);
preview(obj)
this shall generate a window capturing live video input.