• 0
arslanmajid

Using Open CV with Zybo board

Question

One Query  Zybo board which has znyq 7000 chip. Does it have the capability to support Open cv applications like zed board ??

Edited by Josh
Added Tags

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Another query from a starter regarding this topic: Any pointers on how to access the dvi2rgb input from the PL on the PS side using OpenCV? Bare-metal appreciated

Share this post


Link to post
Share on other sites
  • 0

Yes it can. Currently I have a Zybo board running arch linux and running OpenCV. It's not that fast to process video at a good framerate using only the CPU, you need to use some kind of hardware aceleration for processing video.

Share this post


Link to post
Share on other sites
  • 0

Hi, good to know. Are you using Ubuntu on ZYBO? What is the frame rate are you running ? 

Share this post


Link to post
Share on other sites
  • 0

Hi Alex,

I think he is using Arch Linux on his ZYBO board, although I can't speak for his framerate.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

Hi Alex,

Sorry for the incredibly late answer. My current setup achieves about 23-25 fps with a USB VGA camera. Depending on the usb camera the performance can be different. For example, I have a 320x240 camera that achieves 9 fps only with the Zybo and I have another camera that achieves about 15 fps with 720p resolution. 

Share this post


Link to post
Share on other sites
  • 0

@Alejandro Wolf Thanks for the information. Once you have completed the project, we encourage you to share that in the forum at our Project vault.

@JColvin thanks for pointing that out. I guess I overlooked the Linux distribution in the post.

Share this post


Link to post
Share on other sites
  • 0

@Alejandro Wolf Thanks for the information. Once you have completed the project, we encourage you to share that in the forum at our Project vault.

@JColvin thanks for pointing that out. I guess I overlooked the Linux distribution in the post.

That actually was just a demo I did for some students. The end result can be appreciated here. In the end I used a HDMI input instead of the camera because of the faster frame rate. I tested it using a video from  my personal computer or a GoPro camera. 

 

I have a tutorial for running OpenCV on the Zybo board from scratch, but it is in spanish and does not cover the hdmi capture.

I'm not quite confortable sharing my proyect because its messy and I kind of hacked the AXI HP ports to capture the HDMI input and output the video with no Linux graphical interface. I'm not using DMA at all and yet I'm transfering full video frames from the FPGA to the processor at enought speed to capture 1080p@60fps video.

I can clean up the proyect for the HDMI capture/VGA output and translate the tutorial, but it would take me a while.

 

best regards

Edited by Alejandro Wolf
Forgot to add something

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now