bogdan.deac

Technical Forum Moderator
  • Content Count

    63
  • Joined

  • Last visited

  • Days Won

    1

bogdan.deac last won the day on November 15 2017

bogdan.deac had the most liked content!

About bogdan.deac

  • Rank
    Frequent Visitor

Recent Profile Visitors

991 profile views
  1. I am sorry, but I don't understand your last question.
  2. Comment out the imshow("Image",img); line, build the application and run it. Do you get the same error message?
  3. Hello @kotra sharmila, Can you show the application's code?
  4. 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 all mentioned options you have to implement the image acquisition mechanism from a camera if you don't intend to use static images. Usually, the easiest way to develop video processing apps using xfOpenCV and OpenCV on Xilinx SoC is SDSoC. Find more info here. Using SDSoC you have a hardware platform which describes your hardware configuration and another important aspects like libraries, sample projects, etc. Usually, this platform is provided by the development board manufacturer, in this case Digilent. Two SDSoC platform aspects are important for you: 1. The hardware configuration which implements the image acquisition mechanism. Find Digilent Zybo Z7-20 SDSoC Platform here. 2. Sample projects. Find sample projects for the above mentioned platform here.
  5. bogdan.deac

    OpenCV and Pcam5-c

    To start the application run: ./config_pcam_vga.sh ./filter2d_test.elf
  6. bogdan.deac

    OpenCV and Pcam5-c

    Hi @Esti.A, I attached the files. filter2d_test.zip
  7. bogdan.deac

    OpenCV and Pcam5-c

    @Esti.A, I get that warning message but the application starts normally. I will try to discover the cause of that message.
  8. bogdan.deac

    OpenCV and Pcam5-c

    I launched the application in vga resolution configuration and tried different switches combinations to change the filter type.
  9. bogdan.deac

    OpenCV and Pcam5-c

    Hi @Esti.A, Until now, I conclude that the system works very slow. I obtained filtered images with a very low frame rate (aprox. 1 frame / 7 sec. ). Still I don't know which is the component that generates the bottleneck. I am trying to modify the project and to simplify it's structure to solve this issue. I will post here any updates that I have.
  10. bogdan.deac

    OpenCV and Pcam5-c

    Hi @Esti.A, I am still working on this issue. Do you have any updates? Partially, I encounter the same problems. If I wait for aprox. 2 min I get a single frame displayed on monitor but that'a all. What output do you get if you run v4l2-ctl -d /dev/video0 --list-inputs ?
  11. bogdan.deac

    OpenCV and Pcam5-c

    What ZYNQ part is loaded on your board, 7010 or 7020? Did you try to turn on and off the switches? The filter are controlled using them.
  12. bogdan.deac

    OpenCV and Pcam5-c

    What setup do you use? Do you have PCam and a HDMI monitor connected to Zybo Z7? Make sure that the connection is done before board power up.
  13. bogdan.deac

    OpenCV and Pcam5-c

    Please answer the following questions: 1. Did you follow these steps? 2. Have you got any error message on one of them? 3. Have you mount /dev/mmcblk0p1? How do you launch the opencv application?
  14. Hi @Esti.A, Do you use an example project or you developed your own? From the error message that you've post I understand that the error is generated by the bilateral_8u function from smooth.cpp module. The condition that is not met is the following: (src.type() == CV_8UC1 || src.type() == CV_8UC3) && src.data != dst.data The above condition is not met in two cases: 1. If the src parameter is not CV_8UC1 (unsigned char + one channel) or CV_8UC3 (unsigned char + three channels) 2. If the input image (src) and the output image (dst) are the same. Please check that the above mentioned condition is met in your code. Maybe you will find something useful here and here.