Ask Your Question

Israelcp's profile - activity

2020-10-20 13:05:14 -0600 received badge  Popular Question (source)
2013-04-19 14:12:00 -0600 asked a question how can i get the camera projection matrix out of calibrateCamera() return values

hi there!!

i am trying to get a 34 camera matrix for triangulation process but calibreateCamera() returns only 33 and 4*1 matrices.

how can i get the 3*4 out of those matrices?

thanks in advance!!

2013-04-15 10:03:55 -0600 received badge  Scholar (source)
2013-04-15 08:22:56 -0600 asked a question ‘calibrateCamera’ is not a member of ‘cv’

hi everyone. i have a problem calling calibrateCamera() in a simple code that i tried.

   vector<vector <Point3f> > objectPoints;
   vector<vector <Point2f> > imagePoints;
   Mat cameraMatrix;
   Size imageSize(320, 240); 
   Mat distCoeffs;
   vector<Mat> rvecs,tvecs;

  double x = cv::calibrateCamera(objectPoints,
                imagePoints,
                imageSize,
                cameraMatrix,
                distCoeffs,
                rvecs,tvecs,
                0);

sadly i'm getting this response from the g++

fsd.cpp: In function ‘int main(int, char**)’: fsd.cpp:60:14: error: ‘calibrateCamera’ is not a member of ‘cv’

the cv:: is not needed because i typed in the head ‘using namespace cv;‘

so i tried to remove the ‘cv::‘ then i got

‘calibrateCamera’ was not declared in this scope

thanks in advance!!!

2013-01-22 09:40:52 -0600 commented answer Couldn't load native_sample: findLibrary returned null

none of them worked.. any other suggestions?

2013-01-22 02:27:33 -0600 commented answer Couldn't load native_sample: findLibrary returned null

thank you for the help, but how can i fix that?

2013-01-21 11:41:01 -0600 asked a question Couldn't load native_sample: findLibrary returned null

I downloaded opencv 2.4.3 to my ubuntu 12.04 and i tried to run the samples on my galaxy s II Adnroid 4.04. all the samples ran except ones using ndk.

I get this in console:

>**** Build of configuration Default for project OpenCV Tutorial 3 - Add Native OpenCV ****
>
>/home/icpavon/android-ndk-r8d/ndk-build 
>/home/icpavon/android-ndk-r8d/ndk-build: 1: /home/icpavon/android-ndk-r8d/ndk-build: dirname: not found
>/home/icpavon/android-ndk-r8d/ndk-build: 86: /home/icpavon/android-ndk-r8d/ndk-build: uname: not found
>ERROR: Unknown host operating system: 
>
>**** Build Finished ****

And this is the logcat:

>01-21 19:29:46.153: I/OCVSample::Activity(10322): Instantiated new class org.opencv.samples.tutorial3.Sample3Native
>01-21 19:29:46.153: I/OCVSample::Activity(10322): called onCreate
>01-21 19:29:46.163: D/CameraBridge(10322): Attr count: 3
>01-21 19:29:46.168: D/JavaCameraView(10322): Java camera view ctor
>01-21 19:29:46.178: D/OpenCVManager/Helper(10322): Service connection created
>01-21 19:29:46.178: D/OpenCVManager/Helper(10322): Trying to get library path
>01-21 19:29:46.438: D/OpenCVManager/Helper(10322): Trying to get library list
>01-21 19:29:46.713: D/OpenCVManager/Helper(10322): Library list: ""
>01-21 19:29:46.713: D/OpenCVManager/Helper(10322): First attempt to load libs
>01-21 19:29:46.713: D/OpenCVManager/Helper(10322): Trying to init OpenCV libs
>01-21 19:29:46.713: D/OpenCVManager/Helper(10322): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so
>01-21 19:29:46.713: D/dalvikvm(10322): Trying to load lib /data/data/org.opencv.engine/lib/libopencv_java.so 0x41543fa0
>01-21 19:29:46.728: D/dalvikvm(10322): Added shared lib /data/data/org.opencv.engine/lib/libopencv_java.so 0x41543fa0
>01-21 19:29:46.728: D/OpenCVManager/Helper(10322): OpenCV libs init was ok!
>01-21 19:29:46.728: D/OpenCVManager/Helper(10322): First attempt to load libs is OK
>01-21 19:29:46.728: D/OpenCVManager/Helper(10322): Init finished with status 0
>01-21 19:30:41.783: I/Process(10414): Sending signal. PID: 10414 SIG: 9
>01-21 19:35:37.018: I/Process(10708): Sending signal. PID: 10708 SIG: 9
>01-21 19:35:44.698: I/OCVSample::Activity(11133): Instantiated new class org.opencv.samples.tutorial3.Sample3Native
>01-21 19:35:44.698: I/OCVSample::Activity(11133): called onCreate
>01-21 19:35:44.708: D/CameraBridge(11133): Attr count: 3
>01-21 19:35:44.708: D/JavaCameraView(11133): Java camera view ctor
>01-21 19:35:44.723: D/OpenCVManager/Helper(11133): Service connection created
>01-21 19:35:44.723: D/OpenCVManager/Helper(11133): Trying to get library path
>01-21 19:35:44.978: D/OpenCVManager/Helper(11133): Trying to get library list
>01-21 19:35:45.208: D/OpenCVManager/Helper(11133): Library list: ""
>01-21 19:35:45.208: D/OpenCVManager/Helper(11133): First attempt to load libs
>01-21 19:35:45.208: D/OpenCVManager/Helper(11133): Trying to init OpenCV libs
>01-21 19:35:45.208: D/OpenCVManager/Helper(11133): Trying to load library /data/data ...
(more)
2013-01-21 11:25:29 -0600 commented answer Problem working with Native Apps

how do you know which value to put in APP_ABI for each device?

2013-01-21 11:21:27 -0600 commented answer Couldn't load native_sample: findLibrary returned null opencv4android

Can you explain exactly what to add?