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

fix #278, v4l2_drm integrate isp-tuningd with custom resolution #279

Merged
merged 12 commits into from
Sep 19, 2022

Conversation

MrThanlon
Copy link
Member

@MrThanlon MrThanlon commented Aug 9, 2022

PR描述:

移除v4l2_drm_isptool,把isp-tuningd集成进v4l2_drm,通过命令配置,支持自定义分辨率,为gc2x系列摄像头及encode_app做准备

./v4l2_drm.out -t <摄像头号> 即可启动 isp-tuningd,0=关闭(默认),1=sensor 0,2 = sensor 1

详细描述:

关联issue:

fix #278 #328

Signed-off-by: 黄子懿 <huangziyi@canaan-creative.com>
Signed-off-by: 黄子懿 <huangziyi@canaan-creative.com>
@MrThanlon MrThanlon marked this pull request as ready for review August 29, 2022 01:59
@alex-GuoGuo
Copy link
Contributor

基于双路IMX219测试
v4l2 测试结果如下:

  1. ./v4l2_drm.out -f video_drm_1080x1920.conf -e3 出图正常
  2. ./v4l2_drm.out -f video_drm_1080x1920.conf -e3 -t1 出图正常,tuning tool可以正常连接并出图
  3. ./v4l2_drm.out -f video_drm_1080x1920_r2k.conf -e3 -t2 出图正常,tuning tool可以正常连接并出图
  4. ./v4l2_drm.out -fvideo_drm_1920x1080.conf -e3 -t2 出图正常,tuningtool可以正常连接并出1920x1080的r2k路图
  5. ./encode_app -split 1 -ch 0 -i v4l2 -dev /dev/video7 -o rtsp -w 1920 -h 1080 -conf video_sample_1080x1920.conf 出图正常
  6. face_landmarks.sh和hand_image_classify.sh可以正常出图(忽略已知的识别框异常问题)

LGTM

@zhangxiaojingCAN zhangxiaojingCAN merged commit 9becce4 into kendryte:dev Sep 19, 2022
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

Successfully merging this pull request may close these issues.

[Feature]: v4l2_drm_isptool需要支持1088x1920以外的分辨率
3 participants