Ask Your Question

Xeverus's profile - activity

2014-01-02 09:15:01 -0600 answered a question homography for cordinates of poins

I have similar question but for Affine matrix retrieved from estimateRigidTransform. How can i transform one std::vector<cv::Point2f> to another? I mean the same action but for smaller dim matrix (affine)?

2014-01-02 09:11:03 -0600 received badge  Editor (source)
2014-01-02 09:07:04 -0600 asked a question estimateRigidTransform fails but findHomography works

Hello.

I have this code in my program:

cv::Mat H = cv::findHomography(mTempData.modelGoodKeyPoints, mTempData.sceneGoodKeyPoints, cv::RANSAC, 5.0);
mTempData.sceneGoodKeyPoints.clear();
cv::Mat A = cv::estimateRigidTransform(mTempData.modelGoodKeyPoints, mTempData.sceneGoodKeyPoints, false);

findHomography works well but estimateRigidTransform fails assert. I have no idea why. Both goodKeyPoints vectors are std::vector<cv::Point2f> and has the same size (i belive).

Assert:

OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) 
in CvMat* cvGetMat(const CvArr*, CvMat*, int*, int), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/core/src/array.cpp, line 2482

[EDIT] This post worked as rubber duck...

2013-12-11 22:55:55 -0600 received badge  Self-Learner (source)
2013-12-11 15:02:50 -0600 asked a question Parsing problem in native code

Maybe it's more JNI or configuration problem than OpenCV but... My Eclipse shows error when i'm trying to do sth like this:

// let say that i have a vector like this:
std::vector<Point2f> someVec(/*init vector or sth...*/);

and i want to read a field or whatever like this:

someVec[0].x = 10;

but then Eclipse cry that it's error. On the other hand I can do sth like this and now Eclipse doesn't see any problem:

Point2f& p = someVec[0];
p.x = 10;

Have ever had similar problem maybe?

2013-12-11 14:48:38 -0600 answered a question OpenCV Manager beta testing

Yeah! I run 2.4.7.1 4 Android and native camera works now! I have about 22 FPS using Java Camera when doing preview only and about... 10 FPS using native when doing the same... I don't know what's the problem with nexus 4 but it's sad.

2013-12-09 09:47:41 -0600 commented question OpenCV Manager beta testing

When can we expect release of 2.4.7.1? I ask coz i still can't download this OpenCVManager :/ I even followed you on G+ and still nothing...

2013-12-07 15:08:42 -0600 commented question OpenCV Manager beta testing

I belive i have, coz it's connected to my gmail and all that Google's stuff. Moreover i have 2 registered phones on Google Play (2.2 and 4.4) and still nothing :/ Maybe i should wait for release? :P

2013-12-07 11:45:54 -0600 commented question OpenCV Manager beta testing

Maybe i have to register somewhere? Google+ or sth?

2013-12-06 13:09:09 -0600 asked a question OpenCV Manager beta testing

Hi. I know that there should be somewhere a possibility to test new OpenCV Manager which is in beta state and it should support Android 4.4 native camera. I received this link https://play.google.com/apps/testing/org.opencv.engine and it should works for about 3 days now but I still receive 404 error. Could someone help me and give me a clue what should i do to be able to download it?

2013-12-04 14:56:12 -0600 commented answer Android 4.4 native camera

Is new openCV already available in this beta? I'm asking coz this link is still unavailable :/

2013-12-02 05:41:47 -0600 commented answer Android 4.4 native camera

Thank you a lot! Really good news! :)

2013-12-02 05:41:08 -0600 received badge  Scholar (source)
2013-12-02 05:41:08 -0600 received badge  Supporter (source)
2013-11-30 08:22:31 -0600 asked a question Android 4.4 native camera

Hi.

I have a problem with native camera after update my os to 4.4. I found that this problem lies in camera_wrapper. I mean there is a solution:
https://github.com/Itseez/opencv/pull/1820
But I do not really know how to beat it. I have Nexus4 with Android 4.4, linked OpenCV lib 2.4.7 to my project and i use OpenCV Manager app. I pull this repo and build whole solution (i think) using MS Visual Studio but all that i get after this are: opencv-300.jar, opencv_java300.dll in java folder, many C++ includes in include folder, many libs and dlls in x64/vc11 folder and some exe in bin... So it seems that the only Android suitable file is opencv-300.jar but what now should i do? I belive this .jar will not be enough to make it work because i have to change camera_wrapper in my manager to newer version or sth, am i right?