Just wanted to know before I dive into this field.
Is it possible to send video frames from an opencv program on windows to a Samsung android tab and visualize it there?
Thanks in advance !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I did the opposite, sending a stream of images from Android to a C/OpenCV program on windows, quite some time ago. The maximum frame rate I got was only ~12FPS for 320×240 B/W images using a G1 over WiFi. I tested different thing like sending compressed images (JPEG) or raw pixels but that was the maximum I got. I assume the limiting factor was the processing speed of the G1 combined with the poor camera stack of Android 1.6. On more decent devices a higher frame rate shouldn’t be a problem. But it should even work on a G1 with a more sophisticated approach.
Your direction should be easier because if you want to compress the transmitted images that happen on a fast windows machine and you don’t have to deal with the phone’s camera. Just transmit the pixels from your C/C++ application over a socket to you Android app using a WiFi connection. You might, however, have to consider the machines/languages endianness. You could also try to use streaming video (just like youtube). But that might require much more effort.