This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM625:AM625 Digilent Pcam 5C

Guru**** 2362840 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1508333/am625-am625-digilent-pcam-5c

器件型号:AM625

工具/软件:

您好:

在 AM62x EVB 上测试 MIPI CSI2摄像头时出现了这个问题。
根据 TI AM62x Academy 网页上的说明配置摄像头后、我们能够接收到摄像头图像、但图像显示时的红色着色过多。

我们参考下面的网页配置了如下设置。

https://dev.ti.com/tirex/explore/node?node=A__Afvqyi8mUm05676JZJ-UlQ__AM62-ACADEMY__uiYMDcq__LATEST 

# media-ctl --set-v4l2 "'ov5640 4-003c':0 [fmt:UYVY8_1x16/1024x768@1/30字段:无]"

# media-ctl --set-v4l2 "'cdns_csi2rx.30101000.csi-bridge':0 [fmt:UYVY8_1x16/1024x768字段:无]"

# media-ctl --set-v4l2 "'30102000.ticsi2rx':0 [fmt:UYVY8_1x16/1024x768 field:none]"

在配置上述设置后、我们使用以下命令从摄像头捕获了单个图像。

gst-launch-1.0 v4l2src num-buffers=1! 视频转换! 'video/x-raw、width=1024、height=768、format=UYVY'! filesink location=image.raw

下图是使用上述命令捕获的。

如图所示、整体有一个很强的红色色调、在光源周围、颜色看起来很饱和。
我们使用了如下网页所示的 Digilent Pcam 5C 摄像头。

https://dev.ti.com/tirex/explore/node?node=A__Afvqyi8mUm05676JZJ-UlQ__AM62-ACADEMY__uiYMDcq__LATEST

当摄像头未直接指向光源时、此问题不太明显。
我们使用下面的 SDK 映像对此进行了测试、并且两种情况下的症状都是相同的。

Processor SDK Linux AM62x Yocto - SD 卡映像

Processor SDK Linux AM62x Debian Trixie - SD 卡映像

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    我们已经使用 SDK 10.1在 AM62x EVM 上测试了该摄像头、图像在显示屏上看起来很好。 以下是测试日志:

    media-ctl -V '"ov5640 4-003c":0 [fmt:UYVY8_1X16/1280x720@1/30 field:none]'
    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_1X16/1280x720 field:none]'
    media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_1X16/1280x720 field:none]'
    
    root@am62xx-evm:~# gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,format=UYVY ! kmssink driver-name=tidss
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-width = 1920
    /GstPipeline:pipeline0/GstKMSSink:kmssink0: display-height = 1080
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)UYVY, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)UYVY, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)UYVY, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, format=(string)UYVY, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709
    New clock: GstSystemClock
    Redistribute latency...
    0:00:09.3 / 99:99:99.
    

    请在您的设置中尝试此操作、查看图像是否正确显示。

    此致、

    建中

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我们使用您对 SDK 10.1使用建议的方法进行了测试。 但是、整体仍然有很强的红色色调、并且光源周围的颜色看起来已饱和。
    我们使用了 Digilent Pcam 5C 摄像头。 您是否还使用 Pcam 5C 摄像头进行了测试? 如果可能、请将相机指向灯泡拍摄的图像分享给我们、我们将不胜感激。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    颜色错误肯定是传感器内部 ISP 的问题。  在我们的测试中,我们发现 Technexion ov5640模块是一个比 Pcam 5C 更稳定的相机。 请尝试使用 Technexion One、例如 https://www.mouser.com/ProductDetail/TechNexion/TEVI-OV5640?qs=QNEnbhJQKvZc0NHD%252BbbBGA%3D%3D&srsltid=AfmBOoo-YIJjw-3M16dCwgrcdjNC9aPsYSFDzIMMO3DnZ2zFwl2NCAtP

    此致、

    建中