View Single Post
Posts: 61 | Thanked: 77 times | Joined on Dec 2009 @ Lancaster
#1
Hello,

Just to make life easier to anyone who wants to do AR on N900 i have a few suggestions.

1.) Use openCV library for any tracking and image manipulation. It is an amazing library that is available in the repo.

M900:

$ apt-get install libcv4 libcvaux4 libhighgui4

Scratchbox:

$ apt-get install libcv4 libcv-dev opencv-doc libcvaux-dev libcvaux4 python-opencv libhighgui-dev libhighgui4

2.) For capturing video use openCV library calls or go through the hassle of GStreamer (appsink element) which can be integrated with QT using QGLWidget object. I attached source code of a project GstOpenGL that demonstrates how this can be done. Make sure you have qt 4.6 on your N900 or scratchbox. The GstOoenGL does not use openCV.

The code has not been cleaned and optimized but should save you time.
Klen
Attached Files
File Type: tar GstOpenGL_V1.tar (430.0 KB, 932 views)

Last edited by klen; 2010-06-02 at 11:15.
 

The Following 4 Users Say Thank You to klen For This Useful Post: