4662
- 收藏
- 点赞
- 分享
- 举报
[已解决] HiMPP 是否有提供YUV 转 BGR 的API?
本帖最后由 qn1534489079 于 2018-11-28 11:39 编辑
目前Hi3559A SDK中的nnie sample code的YoloV2(inst_yolov2_cycle.wk),
是由inst_yolov2_cycle.wk读入图片street_cars_416x416.bgr,
跑完计算后,产生出判断的class box座标(Xmin,Ymin,Xmax,Ymax)。
\Hi3559AV100_SDK_V2.0.1.0\package\mpp\sample\svp\multi-core\nnie\sample_nnie_main
Usage : %s
index:
0) RFCN(VI->VPSS->NNIE->VGS->VO).
1) Segnet(Read File).
2) FasterRcnnAlexnet(Read File).
3) FasterRcnnDoubleRoiPooling(Read File).
4) Cnn(Read File).
5) SSD(Read File).
6) Yolov1(Read File).
7) Yolov2(Read File).
8) LSTM(Read File).
9) Pvanet(Read File).
我想把YoloV2 nnie从读图片BGR data,改由IMX334 sensor VI读入video frame data后,再VO output HDMI。
但IMX334 sensor进来的video data format为YUV 420,想请问:
Q1: HiMPP是否有API提供可以将video frame data format由YUV转BGR? 是否有sample可以参考?
Q2: YoloV2(inst_yolov2_cycle.wk)是否能修改,由读入BGR图片改读YUV 420 data? 是否有sample可以参考?
目前Hi3559A SDK中的nnie sample code的YoloV2(inst_yolov2_cycle.wk),
是由inst_yolov2_cycle.wk读入图片street_cars_416x416.bgr,
跑完计算后,产生出判断的class box座标(Xmin,Ymin,Xmax,Ymax)。
\Hi3559AV100_SDK_V2.0.1.0\package\mpp\sample\svp\multi-core\nnie\sample_nnie_main
Usage : %s
index:
0) RFCN(VI->VPSS->NNIE->VGS->VO).
1) Segnet(Read File).
2) FasterRcnnAlexnet(Read File).
3) FasterRcnnDoubleRoiPooling(Read File).
4) Cnn(Read File).
5) SSD(Read File).
6) Yolov1(Read File).
7) Yolov2(Read File).
8) LSTM(Read File).
9) Pvanet(Read File).
我想把YoloV2 nnie从读图片BGR data,改由IMX334 sensor VI读入video frame data后,再VO output HDMI。
但IMX334 sensor进来的video data format为YUV 420,想请问:
Q1: HiMPP是否有API提供可以将video frame data format由YUV转BGR? 是否有sample可以参考?
Q2: YoloV2(inst_yolov2_cycle.wk)是否能修改,由读入BGR图片改读YUV 420 data? 是否有sample可以参考?
我来回答
回答10个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
相关问答
-
2018-09-20 14:12:23
-
2020-11-10 11:21:16
-
2017-02-22 12:20:42
-
2016-11-01 14:30:08
-
2024-06-18 09:07:45
-
2020-03-11 11:47:48
-
2018-12-19 08:57:56
-
2020-12-24 15:39:11
-
2018-08-26 09:29:27
-
2020-10-30 13:44:58
-
2016-07-04 11:16:24
-
2016-09-12 11:56:55
-
2020-04-07 14:06:57
-
2020-11-26 16:56:05
-
2018-10-20 09:20:11
-
102015-12-14 11:35:36
-
2016-07-19 09:26:12
-
52020-04-29 11:10:59
-
2021-01-13 13:40:57
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
10hi35169dv500平台使用http协议推拉流UVC摄像头,帧率问题
-
10hi3516cv610关于YOLO优化和调优问题
-
10hi_mpi_vpss_get_chn_frame err:0xa0078016报错
-
5gk7205v200(hisi3516ev200)如何接入b656?
-
30pipe管道创建失败
-
10atc转换模型失败
-
20拍摄静止画面显示正常,拍摄运动的画面出现马赛克显示
-
100hi3516cv610 通过易百纳官方SDK中编译出的uboot env kernel,移植到自己的工程中,MPP初始化时出现内核拷贝数据到用户端时出现错误导致内核进入pain模式进而时内核重启
-
5hisi3519 gs2972 bt1120 转sdi 无法正常显示问题
-
5hisi3516cv610 + gc4336p 夜晚很模糊
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认

微信扫码分享
QQ好友