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.

[FAQ] [参考译文] [常见问题解答] AM62A7:如何在 TDA4x/AM6xA 上启用边缘增强

Guru**** 2394305 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1491791/faq-am62a7-how-to-enable-edge-enhancement-on-tda4x-am6xa

器件型号:AM62A7

工具与软件:

我已经调优了 DCC 边缘增强二进制文件、如何使 EE 模块在(SK)边缘 AI 设备上生效?

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

    启用 EE 模式的方法因 SDK 版本而异。


    对于 SDK 版本9.1及更低版本、请按照以下步骤启用 EE:

    导航至/opt/edgeai-tiovx-modules src / tiovx_viss_module.c#73并找到 ee_mode

    通过如下所示设置 ee_mode 启用边沿增强、并通过运行脚本 install_tiovx_modules.sh 重新编译 TIOVX 模块

    /* Select one of the following: 
     TIVX_VPAC_VISS_EE_MODE_OFF
     TIVX_VPAC_VISS_EE_MODE_Y12
     TIVX_VPAC_VISS_EE_MODE_Y8  */
    
    obj->params.fcp[0].ee_mode = TIVX_VPAC_VISS_EE_MODE_Y8;

    对于 SDK 9.2及更高版本、 通过 GStreamer 启用 EE:

    以下是用于启用 ee 模式的 GStreamer 命令示例:

    gst-launch-1.0 -v v4l2src device=/dev/video4 io-mode=dmabuf-import ! \
    video/x-bayer, width=2592, height=1944, framerate=30/1, format=bggi10 ! queue ! \
    tiovxisp sink_0::pool-size=4 sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OX05B1S" \
    ee-mode=EE_MODE_Y8 dcc-isp-file=./dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ox05b1s/linear/dcc_2a.bin format-msb=9 ! queue ! \
    tiovxldc dcc-file=/opt/imaging/ox05b1s/linear/dcc_ldc.bin sensor-name=SENSOR_OX05B1S ! \
    video/x-raw, format=NV12, width=2592, height=1944 ! queue ! \
    tiovxmultiscaler src_0::pool-size=4 target=1 ! video/x-raw, format=NV12, width=1920, height=1080 ! queue ! \
    tiperfoverlay location=perf_logs num-dumps=10 ! queue ! kmssink driver-name=tidss force-modesetting=true sync=false