Python OpenCV stream to Android Studio
Hi everyone,
Is there any way where I can stream a live video from python opencv (code from https://www.pyimagesearch.com/2017/09...) to android studio? If not, can I stream it live in web first and get it in android?
Thanks for your reply.
android studio is an IDE, you can't "stream" anything to it.
also, opencv's android api has no facilities to read ip streams
(lacking backends like ffmpeg or gstreamer there)
Then can you give me an idea how to live stream the video in python opencv to the cloud? What exactly can I use to do it?
IF you built your cv2 with gstreamer support, you can use cv2.VideoWriter with gstreamer pipelines.
on the other hand, why insist on using opencv here at all ? programs like ffmpeg or gstreamer were actually made for this purpose, so why not use those ?
Honestly this is my first time hearing about ffmpeg and gstreamer, and I am not sure if they can "stream" the python video with frames (the box tracking the object)