Top Banner
Native BB10 Camera API @stevenbeeckman 27 February 2013
11

BlackBerry 10 Core Native Camera API

Jan 26, 2015

Download

Technology

Steven Beeckman

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: BlackBerry 10 Core Native Camera API

Native BB10 Camera API

@stevenbeeckman27 February 2013

Page 2: BlackBerry 10 Core Native Camera API

Why?

Page 3: BlackBerry 10 Core Native Camera API

Computer Vision

Page 5: BlackBerry 10 Core Native Camera API

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

Page 6: BlackBerry 10 Core Native Camera API

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

Page 7: BlackBerry 10 Core Native Camera API

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.

Page 10: BlackBerry 10 Core Native Camera API

Aaaaaand ACTION!