-
Notifications
You must be signed in to change notification settings - Fork 9
ros-android/android_camera_driver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Authors: [email protected] (Chad Rockey) [email protected] (Axel Furlan) This is an extension to the first version of the Ros Android Camera Driver. It extends the driver to camera readings and updates the previous version to the post-gradle shift of the rosjava libs. Two compression methods are currently supported, PNG and JPEG (with selectable compression quality). The topic names are: /camera/camera_info /camera/image/compressed Compiling: To compile it on you machine, please follow the detailed instructions at: Rosjava: http://www.dobots.nl/2012/06/19/android-and-rosjava/ Android OpenCV: http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_binary_package.html Once your environment is set, do the following steps: 1) git clone the repo in the android_core folder (the same folder where tutorials are). 2) Edit the settings.gradle file in the android_core folder, adding 'android_camera_driver' at the end of the include list. 3) cd android_camera_driver; ../gradlew clean debug Install the appropriate OpenCV from Google Play. https://play.google.com/store/apps/details?id=org.opencv.engine&hl=en The manager will tell you which OpenCV is required for your hardware. Then search in the market and install the appropriate version. For the whole process of building, packing, installing into the phone and running the app in debug mode, use the buildAll.sh script. Known issues: 1) The code for raw images is also written, although the funcion is currently disabled due to OutOfMemory exceptions and lack of time to debug them. Any help is welcome. 2) A better UI would be needed, e.g. to set camera parameters (now everything is fixed at 640x480, far focus, ecc.)
About
Driver to support OpenCV/ndk support of image streams.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published