The smart phone is used as webcam device. We can use it by installing IP Webcam app. Make sure that the Laptop and your smart phone must me connected to the same network using Wifi.
A specific solution for Android:
Install the free IP Webcam app. (Make sure you read the corresponding permissions and understand any security issues therein)
Open the app, set the desired resolution (will impact the speed!)
Scroll to the bottom and tap on 'Start Server'
ABHILASH SINGH (2021). Real Time Object Detection using Deep Learning. (https://github.com/abhilash12iec002/Real-Time-Object-Detection-using-Deep-Learning./releases/tag/v1.01), GitHub. Retrieved .
Singh, Abhilash. Real Time Object Detection Using Deep Learning. Zenodo, 2020, doi:10.5281/ZENODO.4128443.
Hi Yang Zhang,
For the IP address setting just click on the 'Start Server' button. Afterwards, the camera turns on and you see an internet address something like http://126.96.36.199:8080. Jot down that address or directly give input to your PC browser or any other mobile phone browser (which is connected to the same WiFi network).
How is the IP address set? Can you explain the setting process?
Thanks for your review. As per your request, I will write an article and share the link soon.
Hello, How can i detect objects using this? Please write an article or share a link regarding this
Thanks for your review. For the discussion regarding the identification of road-related features, we need to improve the training sets. For detail discussion feel free to drop an email on firstname.lastname@example.org.
Hi...just a query....can this be used to identify features of a road like curves, speed breakers , red lights etc...??
Thanks for your review. Yes, we can implement the same in the Simulink, but it will be complex. Instead of making it in Simulink just make a GUI.
Working very fine on my system. Can we make the same using a Simulink model?
i double checked everything and i am still getting the same error, i evem tried using the urlread command and didn't work. is there any setting that i should do in the IP webcam app?
Before running the code make sure that the url that is showing in the IP webcam app should be updated in the code.
Check and confirm
I tested this function few days ago and it worked just fine, but i am testing it today and i am getting this error. does anyone have a solution?
Error using getFileFromURL (line 19)
Can't read URL "http://172.19.171.209:8080/shot.jpg".
Error in imread (line 327)
[isUrl, filename] = getFileFromURL(filename);
Error in webcamm1 (line 3)
ss = imread(url);
Inspired by: Real Time Object Detection using Deep Learning.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!