Has anyone been able to successfully install OpenCV on the ZedBoard? I get an internal compiler error, which I believe has to do with the lack of a GPU. I've glanced briefly at the make file to try to figure out a way around this but so far no luck.
Has anyone been able to successfully install OpenCV on the ZedBoard? I get an internal compiler error, which I believe has to do with the lack of a GPU. I've glanced briefly at the make file to try to figure out a way around this but so far no luck.
I've heard of a few looking at this, but I have not heard of any successes yet. The Zynq PS does not have a built-in GPU, so you will have to build that in the programmable logic.
Bryan
If you don't want it to run as a standalone then try this. Firstly you need to cross compile the libraries using the arm-xilinx-linux-gcc which Xilinx provide. I would suggest compiling them as static unless you want to generate a new ramdisk image with enough space for the shared libraries. After that in SDK you can create a C Linux application but change the compiler and linker to g++ (rather than gcc) and add "-static -lstdc++" to the linker flags (again unless you want to change the ramdisk to include C++ libs). It will throw up a lot of unused function warnings, but you can turn those off and it works fine.
I've been able to get OpenCV to work, although it's somewhat hindered. Anything with GPU acceleration is obviously not going to work, and because of the ARM processor you don't get the convenient automatic threading you get with Intel processors. Besides that some dependencies don't work with ARM, and as far as I can tell some that should work with ARM just won't work on this board.
I built it within Xillinux rather than try to cross-compile it. Obviously cross-compiling has its advantages but there are so many dependencies I haven't even tried yet.
If you follow this guide (http://www.samontab.com/web/2012/06/installing-opencv-2-4-1-ubuntu-12-04-lts/), ignoring the steps about apt-get update and apt-get upgrade (if you do this you will not be able to reboot or recover and have to reformat your SD card), removing any dependencies it says it can't find (there are a lot), ignoring the warnings, it will install and you have a partially working OpenCV library. As of yet, I can't really figure out why some parts work and some parts don't, but it's a starting point.
I'm doing this on the compressed xillinux 3.3 kernel, not the full Digilent kernel. The Digilent kernel has given me nothing but trouble.
would be an interesting project to make an opencv vhdl library/libraries
I am trying to install opencv on Xillinux as described in the link, after installing cmake when i reach to this commnad
root@localhost:~/OpenCV-2.4.1/build# cmake -DWITH_TBB=ON -DWITH_V4L=ON -DINSTALL_C_EXAMPLES=ON -DBUILD_EXAMPLES=ON
iget this error
CMake Error: The source directory "/root/OpenCV-2.4.1/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
can u help me with this. or may be share with me what exactly you did to get opencv running on zedboard
I have a different problem; I need to run a bat file according to the tutorial provided on the xilinx website, but when I run it, it doesn't create the needed files.
I'm hitting my head against a wall here, hoping someone has some idea what the problem can be.
EDIT: I feel I should also mention that I have 3 hard drives and I'm trying to get the .bat file to create the needed files on my D: drive (which is where the rest of the Xilinx software is located).
It would be easier for someone to help if you could specify what tutorial exactly are you following and where are you getting this problem along with other settings
Hi,
we cross-compiled openCV libs for ARM and installed on Linaro running on Zedboard. In this video (http://youtu.be/ijA5ikkAuyA) you can see an openCV code compiling and running on Zedboard (Linux 3.3). The Zedboard TRD in the community proyects section is a good start point.
Regards
Could you please explain, how you installed opencv libs on Linaro? I am trying it for weeks but still cannot get an executable running (Even a basic image display app)
Hi,
Did you use hardware acceleration or just runned the openCV code?
Thanks