How to use a mobile phone camera as a video input hardware source ?

24 views (last 30 days)
praveen on 29 May 2011
Edited: Walter Roberson on 6 Dec 2020
I want to use my mobile phone camera to acquire video in matlab.When i connect my phone,the system doesn't recognise it as a WEBCAM or other cam. So, Imaqhwinfo doesn't list it.Does it require any webcam driver for each kind of mobile phone, or is there a way around? Please Help..
I want to capture live video from the phone's camera (i don't want to save it in a file & then use it) &I should be able to connect the phone to my laptop either through USB cable or through bluetooth.

Answers (4)

Soham Bhattacharyya
Soham Bhattacharyya on 16 May 2016
You can use DroidCam if you are using an android phone. You'll need to install OS Generic Video Interface driver.
Hope it helps. :)

Walter Roberson
Walter Roberson on 29 May 2011
I have not encountered any mobile phones that could be used as webcams. I would not say that it is generally impossible -- after all, one could, for example, probably program an Android app that allowed that kind of access (though possibly only as a series of snapshot frames.)
What kind of mobile phone were you thinking of using?
Some of the mobile phones I have used have definitely not been able to do this: on those phones, the USB connection was limited to the standard "access as a disk" configuration.
Walter Roberson
Walter Roberson on 29 May 2011
For reference: BTcam appears to be this application:

Sign in to comment.

Abdul Basit
Abdul Basit on 19 Jul 2011
i am also trying to connect sony ericson mobile htc as webcam and i have same problem please any help me in this regard
Ashish Uthama
Ashish Uthama on 19 Jul 2011 - starting point?

Sign in to comment.

Madhura Suresh
Madhura Suresh on 3 Jun 2016
You can get apps that convert your phone into an IP camera, and use the "ipcam" command in MATLAB.
Walter Roberson
Walter Roberson on 6 Dec 2020
What problem are you observing? Have you confirmed that you have the right IP address for your mobile phone, and that you have the right user authentication details, and that a connection is being made?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by