Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for an example of how to take video from USB camera and put it into memory #25

Open
kutenai opened this issue Apr 27, 2020 · 1 comment

Comments

@kutenai
Copy link

kutenai commented Apr 27, 2020

My goal is to take the USB video and process it using OpenCL. In order to do this, I must take the USB camera input and put the frames into memory, where the VIP core can then access it.

My first goal would be to make a simple project without a linux GUI so that I can send the USB video direct to HDMI.

USB Video -> Software moves to Memory using AXI (Not sure how to do this... ) -> Frame reader from memory, to clock video output to HDMI

I just don't know how to do the software step, and was hoping someone could offer an example, or at least tips for getting started.

@thinkoco
Copy link
Owner

@kutenai
late reply,

  1. you can remove the altvipfb diver modprobe in /etc/rc.local ( c5soc_opencl_lxde_fpga_reconfigurable.img)
  2. using the memory mapping (/dev/mem), you can map the vip core address to user space, then you can acess to vip core in opencl host. also, it may refor to the framebuffer reader ip spec for details. I haven't done this before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants