How can I output a processed video stream back to android phone?

4 views (last 30 days)
Sara
Sara on 22 Jun 2017
Answered: Walter Roberson on 13 May 2018
Hello,
I am working on a augmented reality demo in matlab. I'm getting the video stream from the camera of a connected Android phone, processing it in Matlab in real time (the tracking and augmentation) and I want to present the output on the screen of the Android phone. Do you know how can I do that?
Thanks

Answers (2)

ghassan sharaf
ghassan sharaf on 13 May 2018
hello I am facing exactly the same problem, did you find any solutions

Walter Roberson
Walter Roberson on 13 May 2018
Generally the approach to take for this is to switch to using a Simulink model, and use a camera block to capture images, and use a video display block to display the augmented image.
In-between you can use a MATLAB Function Block to invoke the MATLAB processing code. You might need to make some adjustments to the code to make it suitable for use with Acceleration mode.

Community Treasure Hunt

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

Start Hunting!