UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer anjali@8
Observer
432 Views
Registered: ‎05-04-2018

xfopencv function to PL

Hi I am trying to port the Canny edge detection function to the PL side. I wrote the function like this:

 

void can(xf::Mat<XF_8UC1, 640, 480, XF_NPPC8> imgInput)
{
    xf::Mat<XF_8UC1, 640, 480, XF_NPPC8> imgOutput;
    //cv::Canny(imgInput,img_threshold,800,1000,5);
    xf::Canny<5, XF_L1NORM, XF_8UC1, XF_8UC1, 640, 480,XF_NPPC8,XF_NPPC8>(imgInput,imgOutput,84,252);
}

 

I am able to compile it but I am unable to move it to PL as the compiler is giving error:

 

Moving function can to Programmable Logic
ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling '/home/ml1/Xilinx/Vivado/2017.4/bin/vivado_hls /home/ml1/workspace/image_registration/Debug/_sds/vhls/can_run.tcl -l can_vivado_hls.log'
sds++ log file saved as /home/ml1/workspace/image_registration/Debug/_sds/reports/sds_image_registration.log
ERROR: [SdsCompiler 83-5004] Build failed

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
232 Views
Registered: ‎08-20-2018

Re: xfopencv function to PL

Hi anjali@8

Is this issue solved?

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos