Ask Your Question

msucv's profile - activity

2020-10-19 16:26:42 -0600 received badge  Nice Question (source)
2015-12-22 07:01:03 -0600 commented question Install Opencv ON eclipse in ubuntu

I manually add lib files(opencv_core .....) from usr/local/lib to the folder usr/bin. also added these file name to eclipse one by one and no ones all of them. then every thing is ok. Thanks

2015-12-21 05:01:10 -0600 commented question Install Opencv ON eclipse in ubuntu

missing in /usr/bin/ld . the files are in /usr/local/lib . and add in eclipse. i take picture from it the problem is in /usr/bin/ld.

/usr/bin/ld: cannot find -lopencv_core opencv_nonfree opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann
2015-12-21 04:44:27 -0600 commented question Install Opencv ON eclipse in ubuntu

i mean that the ld file is /usr/bin/ld. but why can not the eclipse find opencv_core opencv_nonfree opencv_imgproc opencv_highgui.. there . how solve it. please see new picture from error in the first comment Thanks.

2015-12-21 03:48:09 -0600 commented question Install Opencv ON eclipse in ubuntu

this is "CDT build console" error in eclipse : /usr/bin/ld: cannot find -lopencv_core opencv_nonfree opencv_imgproc opencv_highgui ...

i check usr/bin folder . there is a ld file . how can i test that these component installed in ld file.which ld =/usr/bin/ld

2015-12-21 03:35:54 -0600 commented question Install Opencv ON eclipse in ubuntu

i have access to all folder because i run eclipse with root user.also i take picture from lib folder.it is in first comment. in the eclipse console say can not find these file in /usr/bin/ld. how can sole it. Thanks

2015-12-20 11:50:10 -0600 asked a question Install Opencv ON eclipse in ubuntu

Hi,

i use these link for installation :

1-http://rodrigoberriel.com/2014/10/installing-opencv-3-0-0-on-ubuntu-14-04/

2-http://zacg.github.io/blog/2013/05/02/installing-opencv-2-dot-4-5-on-ubuntu-12-with-eclipse-cde/

3-http://rodrigoberriel.com/2014/10/using-opencv-3-0-0-with-eclipse/

BUT i have error in eclipse when compile program.the error in console is /usr/bin/ld: cannot find -lopencv_core. how can i set /usr/bin , already i set /usr/local/lib for lib component.

full error in "eclipse console" is :

09:44:55 * Build of configuration Release for project Test * make all Building file: ../src/Test.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include/opencv2 -I/usr/local/include -I/usr/local/include/opencv -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Test.d" -MT"src/Test.d" -o "src/Test.o" "../src/Test.cpp" Finished building: ../src/Test.cpp

Building target: Test Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "Test" ./src/Test.o -lopencv_core\ opencv_nonfree\ opencv_imgproc\ opencv_highgui\ opencv_ml\ opencv_video\ opencv_features2d\ opencv_calib3d\ opencv_objdetect\ opencv_contrib\ opencv_legacy\ opencv_flann /usr/bin/ld: cannot find -lopencv_core opencv_nonfree opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann collect2: error: ld returned 1 exit status make: * [Test] Error 1

09:44:56 Build Finished (took 538ms)

also the error in "eclipse problem" is:

Description Resource Path Location Type cannot find -lopencv_core opencv_nonfree opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann Test C/C++ Problem

image description

image description

image description Many Thanks

2015-12-13 02:37:34 -0600 asked a question installing opencv in ubuntu.

Hi , i want to install opencv in ubuntu 14.04 and the opencv version are 2.4.11 or 3. . i have error when make files.

the error log is:

In file included from /home/cv/Desktop/opencv-linux/opencv-3.0.0/modules/core/src/persistence.cpp:67:0: /usr/include/zlib.h:86:5: error: ‘z_const’ does not name a type z_const Bytef next_in; / next input byte / ^ /usr/include/zlib.h:94:5: error: ‘z_const’ does not name a type z_const char *msg; / last error message, NULL if no error / ^ In file included from /usr/include/zlib.h:34:0, from /home/cv/Desktop/opencv-linux/opencv-3.0.0/modules/core/src/persistence.cpp:67: /usr/include/zlib.h:1025:29: error: ‘z_const’ has not been declared typedef unsigned (in_func) OF((void FAR , ^ /usr/include/zlib.h:1025:29: error: two or more data types in declaration of ‘parameter’ typedef unsigned (in_func) OF((void FAR , ^ In file included from /home/cv/Desktop/opencv-linux/opencv-3.0.0/modules/core/src/persistence.cpp:67:0: /usr/include/zlib.h:1349:32: error: expected initializer before ‘Z_ARG’ ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); ^ /usr/include/zlib.h:1673:5: error: ‘z_off64_t’ does not name a type z_off64_t pos; ^ /usr/include/zlib.h:1748:15: error: ‘z_crc_t’ does not name a type ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void)); ^ /usr/include/zlib.h:1758:44: error: expected initializer before ‘Z_ARG’ ZEXTERN int ZEXPORTVA gzvprintf Z_ARG((gzFile file, ^ make[2]: [modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o] Error 1 make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2

Many Thanks

2015-12-10 09:48:20 -0600 received badge  Editor (source)
2015-12-10 09:47:37 -0600 asked a question how can i convert datat to matrix ?

Hi My data is actually a image. Here is stored.

char* img; int size;

how can i convert this img with size to matrix? thanks.

2015-09-03 12:24:42 -0600 commented question intelligent sort by location countors

MANY THANKS.

2015-09-03 10:35:56 -0600 asked a question intelligent sort by location countors

Hi, i detect number in the plate with the contours algorithm . how can i sort by location the contours?

for example left to right contour[0] ...................contour[10].

but without a loop for check Coordinate X. can the contour algorithm scan to detect left to right ? Or a simpler method. Many Thanks.

2015-09-01 04:05:40 -0600 commented answer aligment plate or RotatedRect and draw

MANY THANKS. i found the plates in the image . it is into "vector<rotatedrect> rect" . the plate is not horizontal . i have to rotate to angel 0(horizon); if i rotate "rect" the whole of the image will rotate too. i only want to rotate the plate , because i have up to 12 plate per image.

2015-09-01 01:56:26 -0600 received badge  Enthusiast
2015-08-31 11:04:23 -0600 commented answer aligment plate or RotatedRect and draw

Hi, Many Thanks for response. please see this link: http://answers.opencv.org/question/49... If I have a lot of object that are each different angle. I have to rotate the whole picture for each object. That takes a lot of processing.

2015-08-31 09:23:49 -0600 commented question aligment plate or RotatedRect and draw

how can i extract a RotatedRect to a submatrix image and then rotate image & matrix to angle 0. thanks

2015-08-31 08:45:21 -0600 commented question aligment plate or RotatedRect and draw

i want to draw and rotate bundle rect with image . also , i want to rotate bundle and attach image to angle 0. Thanks,

2015-08-31 08:06:33 -0600 asked a question aligment plate or RotatedRect and draw

Hi, i find car plate with opencv and the plate is in the vector<rotatedrect> this is not alignment (0 degree), how can i rotate "rotatdrect" vector concurrent with original plate . image description

int cmin-100;
int cmax = 1000;
vector<vector<Point> >::iterator itc= contours.begin();
vector<RotatedRect> rects;

while (itc!=contours.end()) {

    RotatedRect mr= minAreaRect(Mat(*itc));

     if (itc->size()  , cmin II  ITC - . SIZE()  . cmax)
        itc= contours.erase(itc);
    else
        ++itc;
        rects.push_back(mr);
    }

NOW    HOW  CAN   I  ONLY     DRAW   "RECTS"  WITH CROP PICTURE  WITH ANGLE 0'.

Many Thanks.

2015-07-22 04:47:20 -0600 received badge  Student (source)
2015-07-21 09:38:50 -0600 asked a question face frontalization

does the opencv have the code for face frontalization. or a sample code? the same is below link for matlab code . but does not work . http://www.openu.ac.il/home/hassner/p...

Many Thanks.

2015-07-12 10:10:09 -0600 asked a question why doesn't the opencv version 3.0.0 have cotrib module

i download opencv 3.0.0 but doesn't have contrib module in the source folder.

set contrib on cmake but don't create contrib folder .

already the contrib module use for face processing .Should the use of another module?

MANY THANKS

2015-07-11 12:19:09 -0600 asked a question how install ipp on the opencv

i installed the ipp module on the windows. also when build opencv check for install the ipp. and the CMack pass ipp installed even show the ipp version . but when use the code "cvGetModuleInfo(0, &opencv,&modules);" only show opencv version and the modules is empty.

does the ipp have special "dll"? where does the ipp install on opencv directory? "Except windows directory" ? does the ipp have the directory on the include folder "#include "opencv2/...." ? MANY THANKS