
bogdan.deac
Members-
Content Count
71 -
Joined
-
Last visited
-
iyer25 started following bogdan.deac
-
Zybo Z7-20 - xfopencv: hls::stream is read while empty
bogdan.deac replied to PearSoup's question in FPGA
Hi @PearSoup, Unfortunately I didn't work with RGB images using SDSoC and PCam . My last post is relevant if the input video stream comes from a HDMI source. With the current conditions of everyone working from home, I don't have access to the necessary hardware to assist you right now. I will get back to you when things return to normal.- 6 replies
-
- zybo z7-20
- sdsoc
-
(and 2 more)
Tagged with:
-
You are welcome!
-
You are welcome!
-
JColvin reacted to an answer to a question: Cora Z7-10 preset notr avialble in zynq block design
-
bogdan.deac started following PCAM elf on PetaLinux from SD card, Cora Z7-10 preset notr avialble in zynq block design, Cora Z7 Examples, how to start and 4 others
-
Hi @hmr, Add the Zynq Processing System in Block Design. After that click Run Block Automation and make sure that Apply Board Preset is checked. See picture below. Now the Zynq is configured correctly (see picture below) but the preset does not appear in Preset section (Current Preset: None). I don't know the cause of this issue.
-
Hi @hmr, What archive have you downloaded? Please make sure that you are using Cora-Z7-10-Basic-IO-2018.2-1.zip from this link.
-
Hi @sgandhi, You can try TCF Profiling or you can use this method.
-
Hi @oqas, There is no connection needed in block diagram in order to use UART. The USB-UART bridge is connected to PS. You will find some Xilinx examples following this path: C:\Xilinx\SDK\2019.1\data\embeddedsw\XilinxProcessorIPLib\drivers\uartps_v3_7
-
Cristian.Fatu reacted to an answer to a question: Zybo Z7-20 - xfopencv: hls::stream is read while empty
-
Zybo Z7-20 - xfopencv: hls::stream is read while empty
bogdan.deac replied to PearSoup's question in FPGA
Hi @PearSoup, I think that you should read the frames in the following way: #define MAX_HEIGHT 1080 #define MAX_WIDTH 1920 #define FILTER_WIDTH 3 float sigma = 0.5f; uint8_t *src = (uint8_t *) v4l2_help.buffers[v4l2_buf_index].start[V4L2_FORMAT_Y_PLANE]; uint32_t stridePixels = drm.create_dumb[drm.current_fb].pitch; /* ------------------------ read rgb frame ---------------------------------- */ /* read_input_rgb function from hls_helper reads each channel in turn so we need a matrix for each rgb channel */ xf::Mat<XF_8UC1, MAX_HEIGHT, MAX_WIDTH, XF_NPPC1> img_input_r(MAX_HEIG- 6 replies
-
- zybo z7-20
- sdsoc
-
(and 2 more)
Tagged with:
-
You are welcome.
-
I am sorry, but I don't understand your last question.
-
Comment out the imshow("Image",img); line, build the application and run it. Do you get the same error message?
-
Hello @kotra sharmila, Can you show the application's code?
-
Hi @ahmedengr.bilal, You have three options: 1. Use standard OpenCV library which can be included in Petalinux rootfs. After that you can develop your application using OpenCV functions. 2. Use xfOpenCV library from Xilinx. Find the documentation here. Some examples here. It offers a subset of standard OpenCV library functions, modified to be easily accelerated in FPGA. 3. Use standard OpenCV and xfOpenCV libraries. This options is suitable for more complex algorithms where you process some functions on ARM processor and another ones in FPGA for better performance. For
-
Esti.A reacted to an answer to a question: OpenCV and Pcam5-c
-
To start the application run: ./config_pcam_vga.sh ./filter2d_test.elf
-
Hi @Esti.A, I attached the files. filter2d_test.zip