sarxos / webcam-capture

The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
http://webcam-capture.sarxos.pl
MIT License
2.24k stars 1.11k forks source link

RoboVM IOS and Android support #279

Open eix128 opened 9 years ago

eix128 commented 9 years ago

Hello , is it possible to add IOS Support by RoboVM with Bro : https://github.com/robovm/robovm/wiki/The-Bro-Java-to-native-bridge

And android support can be very good feature

sarxos commented 9 years ago

Hi @jduke32,

This is very interesting idea :) I was planning to support Android in the future, so I will keep this ticket open.

abigdreamer commented 9 years ago

I would like this support also.

eix128 commented 9 years ago

You can do it by using JavaCPP easier i think. There is presets done by javacpp. But i don't know the performance benchmark of javacpp. JavaCPP works on Android and IOS with Mac,OS X,Win32

https://github.com/bytedeco/javacpp-presets/tree/master/ffmpeg https://github.com/bytedeco/javacpp-presets

eix128 commented 9 years ago

JavaCPP produces code that has zero overhead compared to manually coded JNI functions (verify the generated .cpp files to convince yourself). Moreover, at runtime, the Loader.load() method automatically loads the native libraries from Java resources, which were placed in the right directory by the building process. They can even be archived in a JAR file, it changes nothing. Users simply do not need to figure out how to make the system load the files. These characteristics make JavaCPP suitable for either

mobitinker commented 7 years ago

I was so happy to find this but then realized it's not ready for Android. Adding my vote for Android support. Great work on what you have though!

AndrewVovk commented 6 years ago

+1 for Android support.

alg520 commented 5 years ago

+1 for Android support.