BlackBerry 10 Core Native Camera API

Post on 26-Jan-2015

131 views 4 download

description

 

Transcript of BlackBerry 10 Core Native Camera API

Native BB10 Camera API

@stevenbeeckman27 February 2013

Why?

Computer Vision

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.

Aaaaaand ACTION!