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

cv2.findContours() in Vitis vision Library #201

Open
raf329 opened this issue Jun 23, 2024 · 1 comment
Open

cv2.findContours() in Vitis vision Library #201

raf329 opened this issue Jun 23, 2024 · 1 comment

Comments

@raf329
Copy link

raf329 commented Jun 23, 2024

Hi, all!

Is it possible to use cv2.findContours() with Vitis vision Library?

  1. I didn't find this function in list:
    https://github.com/Xilinx/Vitis_Libraries/blob/master/vision/docs/src/using-the-vitis-vision-library.rst

  2. What is the better way to release this function on PL part of FPGA? Matlab HDL Coder?

Best Regards!

@vt-lib-support
Copy link
Collaborator

Hi @raf329 ,

There is no direct equivalent function for OpenCV's "findContours" function in Vitis Vision library, but you can achieve similar functionality using "fw_cca" function defined in L1/include/imgproc/xf_cca_custom_imp.hpp.

You can check the Defect Detect L3 design example to know how to call this function.

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