Ask Your Question

LAKSHMI's profile - activity

2015-12-20 11:06:02 -0600 received badge  Popular Question (source)
2014-01-31 03:38:06 -0600 commented answer Cross compiling opencv using eclipse for pi

Its not exactly solved.. I found an alternative would be correct. May be there is a solution to this.

2014-01-31 01:11:52 -0600 commented answer Cross compiling opencv using eclipse for pi

Sorry for the delay.. I failed to cross compile. Creating a binary file for OpenCV libraries using eclipse is not working for me. even tough everything works fine, and I try to link the binary file to the Pi, It fails. So I gave up.But I could easily install opencv on Raspberry Pi and compile the program using gcc or cmakeTest file. That is much simpler and easier. @StevenPuttemans also suggested the same.

2014-01-31 01:02:56 -0600 received badge  Supporter (source)
2013-09-17 06:46:19 -0600 commented question Cross compiling opencv using eclipse for pi

Hi Berak I kind of figured out the error. when i replayed to u ..i saw the lib path . I added the same to the lib path and voila it works... But the executable i got is weird.. all i have to see now is if my Pi accepts it or not ! Thats the next mission

Thanks for pointing out the error. I could figure out the error :-) Thank u

2013-09-17 06:34:22 -0600 commented answer Cross compiling opencv using eclipse for pi

Yes thats the plan. But my Pi is not always on. And it takes longer to compile on pi. so Iam trying out the alternative. Thank u so much.. I just now figured out the error and compiled the program. but the executable i got looks wired :-P one thing at a time . I'll try this on Pi. Hopefully this should work!!! Tomorrow I'll install OpenCv on Pi. my SD card is 4GB OpenCv will take up all the space. hence trying to figure out other ways! but Thank you so much

2013-09-17 05:26:02 -0600 commented question how to display the image using open cv with eclipse on ununtu(solved)

I re installed OpenCv . Then i tried out the program . It runs without any errors, warnings now. and i used the version 2.4.1 (before i had 2.1 version). it works perfectly.

2013-09-17 05:09:34 -0600 commented question Cross compiling opencv using eclipse for pi

Yes.. I think so but my /usr/local/lib gives me error. i tried looking for the libs and added this path. it works fine for all the programs but cross compiling.

to get the lib path I tried the command

pkg-config --libs opencv and it does not give me -l path!!!!!

instead i got

/usr/local/lib/libopencv_calib3d.so .. all with .so extension.

when i had to get -L and -l paths. so i added this path and it works (but for crosscompiling).

I am running out of ideas how to resolve this.

2013-09-17 04:59:39 -0600 commented answer Cross compiling opencv using eclipse for pi

No I am yet to install OpenCV on Raspberry pi. Iam planning to do that later.

Iam trying to creat a binary file for raspberry Pi using eclipse.I have installed OpenCV and Eclipse in KUbuntu. hence my Cross compiler path is set to gcc-linaro-arm-linux-gnueabihf-raspbian. so when i try to include OpenCv libraries which are in root , linker is trying to locate the lib files in the gcc folder and giving me error. So iam not able to figure out how to specify the path for both the libs! Hope iam able to convey the my problem!

2013-09-13 02:40:14 -0600 asked a question Cross compiling opencv using eclipse for pi

Hi, I used opencv for eclipse and it is running fine. I tried the display image program from the site and it is working fine (other programs too). But when I try to cross compile the same for pi, I am having difficulty to add the opencv libraries. the cross compile path and the opencv library paths are different. How do I correct this.

Error looks like this:

Building target: displayimagerpi
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -L/usr/local/include/opencv2 -L/usr/local/include/opencv -o "displayimagerpi"  ./test.o   -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d  -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_core
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_imgproc
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_highgui
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_ml
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_video
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_features2d
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_calib3d
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_objdetect
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_contrib
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_legacy
/home/../rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lopencv_flann
collect2: error: ld returned 1 exit status

Iam not able to resolve this

Thanks in advance

2013-09-06 05:19:29 -0600 received badge  Editor (source)
2013-09-06 04:24:48 -0600 asked a question how to display the image using open cv with eclipse on ununtu(solved)

I have installed OpenCV with Eclipse on ubuntu. I tried the program'Display Image' from the openCV website . when i compile it run ,Iam getting an error the error is *WARNING: gnome-keyring:: couldn't connect to: /run/user/lakshmi/keyring-R3BoiB/pkcs11: No such file or directory* No image data** I have folled the steps correctly. this is the case for video and image files. when i run any other samples files it is giving me correct results.

and also the file is not compiles error free. it has errors like autosize could not be resolved and such ones.it is a semnatic error..

can u point out what i am missing to get these errors and help me correct them Thanks