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!

取消
显示结果 
搜索替代 
您的意思是: 
Contributor
Contributor
494 次查看
注册日期: ‎07-24-2018

hls opencv问题

转到解答

目前在尝试hls opencv的事例,有两个问题想要咨询:

1 发现关于opencv中的函数接口都会设置成AXI_STREAM格式,内部在用

hls::AXIvideo2Mat();

...

hls::Mat2AXIvideo ();

进行转换输出,但是如果我想接口格式为m_axi形式,内部函数处理还有没有办法有hls体统的opencv的api,如果可以应该怎么做

2目前尝试了一个hls resize处理,可以得到正确的图像,目前定义的接口如 typedef hls::stream<ap_axiu<24,1,1,1> > AXI_STREAM; 我想要缩小他的latency,把ap_axiu设置为<48,1,1,1>,想让接口每秒传进来两个rgb值,编译完成后,发现latency没有变化,这里有些疑问

0 项奖励
1 个已接受解答

已接受的解答
Highlighted
Xilinx Employee
Xilinx Employee
442 次查看
注册日期: ‎03-24-2010

回复: hls opencv问题

转到解答

You may try Array2Mat and Mat2Array.

Regards,
brucey
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 项奖励
1 条回复1
Highlighted
Xilinx Employee
Xilinx Employee
443 次查看
注册日期: ‎03-24-2010

回复: hls opencv问题

转到解答

You may try Array2Mat and Mat2Array.

Regards,
brucey
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 项奖励