Open Q-point opened 4 years ago
Getting the exact same error right now. I'm using xf::rgb2gray() and xf::gray2rgb() functions.
It seems that these functions are supported since 2019.1 xfOpenCV release.Here's an issue asking when these type of functions would be available.
I just posted a question in Xilinx's HLS forum, here's the link. Let's see if we get a solution there...
Hi @Q-point I ended up modifying the xf_cvt_color.hpp file, adding the template argument iTC in the functions where it was missing. It works now.
Hi @Tomasmed18 ,
So you forked the library and made underlying changes by changing TC to iTC on the template of this function? Is that correct?
I kept TC and added iTC, like this:
template<int SRC_T,int DST_T,int ROWS, int COLS, int NPC, int WORDWIDTH_SRC, int WORDWIDTH_DST, int TC, int iTC>
Here's the modified version, just change the file extension to .hpp
Ha, OK, now I see. Thank you. So this confirms that it's a library issue. Doing this though will overwrite the existing library file. Seems like a regression from 2018.3
It's better to pull the newest Vitis Libraries to solve the problem!
thk
Is there a design bug with the cvtcolor_bgr2gray function in the underlying library? I wrapped the function in an AXI Stream and it fails. (Vivado HLS 2019.1)
I run the simulation and it passes. I run synthesis and it fails with the error below.
This the function: