Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-07-2013 01:54 PM - edited 02-07-2013 04:19 PM
I know this has been asked before on this forum but I am starting a new thread again in the hopes that others might also find it useful.
Is there any OpenCV + QT sample project that exists? I am having extreme diffculty in getting OpenCV to work.
02-07-2013 04:40 PM
I'm putting down my progress till now so someone may find it helpful.
I downloaded the source from the github page and built dynamic libs and when included in the app, it wouldn't launch on the device. I then built static libs.
I added them to the app and got this error:
ext/atomicity.h not found
So, I added the following
INCLUDEPATH += $$(QNX_TARGET)/usr/include/c++/4.6.3 INCLUDEPATH += $$(QNX_TARGET)/usr/include/c++/4.6.3/arm-unknown-n
but that results in
e/c++/4.6.3/bits/stl_relops.:68: Parse error at "std"
After getting the atomicity.h error, I tried another way, by passing in -Y _gpp to the compiler but that results in 418 errors, including
de/c++/4.6.3/bits/basic_string.h:312: error: undefined reference to `std::string::_M_leak_hard()'
Can anyone help figure out what is happening?
02-07-2013 08:29 PM
I wanted to try the same thing, but what i found was that the github Opencv is only for playbook OS and there is none for BB10. Im gonna work on this and let you know if successfuly set it up.
Thanks so much for posting the thread, there is no discussion about Open CV whatsoever on these fourms.
02-08-2013 12:41 AM - edited 02-08-2013 07:50 AM
I was using this in a QT creator project. I'm going to try Cascades using Momentics now, will update result.
02-08-2013 02:15 PM
I don't think there should be any differnce between building for PlayBook or BB10.
Now that BB Jam is over, I should have a bit more spare time to look into this. Perhaps I will try building it over the weekend and let you know if I have any trouble.
02-08-2013 03:02 PM
I tried following the steps provided in the READme file on Github, these steps were solely for cross platform unix. Some questions that are tauntung me. and are not clear in the steps are...
1. When we make the Opencv through Cmake, which build option should we choose..(such as Eclipse 4DT Unix makefiles, Visvual Studio etc)?
2. Where do we make the "build" directory? Is it in the ndk directory or else where
I have tons of questions that I cant even reember...but be honest the steps provided in the readme file are quite vauge and only apply to unix platform.
If possible Sean, you could post deatiled steps of how you went about setting up Opencv with Cascades/NATIVE.
It will be of a great help.