BlackBerry 10 Core Native Camera API

  • View
    106

  • Download
    3

Embed Size (px)

DESCRIPTION

 

Transcript

  • 1. Native BB10 Camera API@stevenbeeckman27 February 2013

2. Why? 3. Computer Vision 4. OptionsDIY: low-levelhttps://www.coursera.org/course/visionhttp://en.wikipedia.org/wiki/Computer_visionOCR: Tesseract (cfr BBJam AMS)http://code.google.com/p/tesseract-ocr/Computer Vision: OpenCVhttp://opencv.org/ 5. OpenCV & Momenticshttp://supportforums.blackberry.com/t5/Cascades-Development/OpenCV-sample-project-and-troubles/td-p/2146603/highlight/true/page/2 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 6. OpenCV & MomenticsChange your common.mk, add stuff toEXTRA_INCVPATH (include files fromBlackBerry OpenCV port)EXTRA_LIBVPATH (point to binarylib files from lewellyn) &LIBS 7. OpenCV & MomenticsAdd libopencv_core.so to your bar-descriptor.xml assets.Build!Run!Open an SSH session and do pidin -pHelloOpenCV mem and see ifopencv_core.so.2.4 is loaded. 8. Open sourced ithttps://github.com/stevenbeeckman/ HelloOpenCV 9. Native C Camera APIhttp://developer.blackberry.com/native/reference/bb10/com.qnx.doc.camera.lib_ref/topic/overview.htmlCry because of the not so gooddocumentation 10. Aaaaaand ACTION! 11. FaceFilterhttps://github.com/blackberry/Presentations/tree/master/2012-BlackBerryJam-Americas/JAM15/FaceFilter