Upload
steven-beeckman
View
131
Download
4
Embed Size (px)
DESCRIPTION
Citation preview
Native BB10 Camera API
@stevenbeeckman27 February 2013
Why?
Computer Vision
OptionsDIY: low-levelhttps://www.coursera.org/course/visionhttp://en.wikipedia.org/wiki/Computer_vision
OCR: Tesseract (cfr BBJam AMS)http://code.google.com/p/tesseract-ocr/
Computer Vision: OpenCVhttp://opencv.org/
OpenCV & Momentics
Get the OpenCV port for BlackBerry from http://github.com/blackberry/OpenCV/
Get the OpenCV build from lewellyn:http://www.greenviolet.net/~lewellyn/OpenCV-QNX.zip
touch libopencv_core.a
http://supportforums.blackberry.com/t5/Cascades-Development/OpenCV-sample-project-and-troubles/td-p/2146603/highlight/true/page/2
OpenCV & Momentics
Change your common.mk, add stuff to
EXTRA_INCVPATH (include files from BlackBerry OpenCV port)
EXTRA_LIBVPATH (point to binary lib files from lewellyn) &
LIBS
OpenCV & MomenticsAdd libopencv_core.so to your bar-descriptor.xml assets.
Build!
Run!
Open an SSH session and do ‘pidin -p HelloOpenCV mem’ and see if opencv_core.so.2.4 is loaded.
Open sourced ithttps://github.com/stevenbeeckman/
HelloOpenCV
Native C Camera API
http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.camera.lib_ref/topic/overview.html
Cry because of the “not so good” documentation
Aaaaaand ACTION!
FaceFilterhttps://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/FaceFilter