Stream camera feed of Android device via UDP using Java and Python.
Android.cam.stream.preview.mp4
- Numpy
- Pillow
- OpenCV
src
folder contains the necessary files for Java Android app and a single Python script (server.py) for receiving camera frames.
Including these lines to your AndroidManifest.xml
may be useful:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="true"/>
As frames are rendered using OpenCV, further image processing operations can also be done.