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.

[参考译文] TDA4VM:基于文件的多相输入

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1530078/tda4vm-file-based-input-multicam

器件型号:TDA4VM

工具/软件:

我正在处理app_multi_cam a J721E EVM 上 Processor SDK RTOS 11.00 的应用。

我已应用multi_cam_file_input.patch并将multi_cam_file文件夹从复制multi_cam_file_test_data.zip到 EVM 上的以下位置:

/opt/vision_apps/test_data/multi_cam_file/ 

我有几个关于配置的说明:

  1. 我是应该test_mode = 1在配置文件内启用、还是应该作为命令行参数传递?
    ./vx_app_multi_cam.out --cfg app_multi_cam_config.cfg --test
  2. 我需要/opt/vision_apps/test_data/multi_cam_file/在配置文件中明确提及输入文件路径 ()、还是在程序中进行硬编码?
  3. 下面是我使用的配置文件。 您能否确认运行基于文件的输入是否正确?

# test mode: 1-enable
# if this is enabled, fake data will be run into the sensor port
test_mode    1

# sensor selection
# 0 : IMX390
# 1 : AR0233
# 2 : AR0820
sensor_index   0

# LDC 0-disable, 1-enable
enable_ldc  0

# Channel mask in decimal. Indicates number and positions of cameras selected. 
# For e.g. channel_mask = 15 (0x0F) indicates that first 4 cameras are enabled
channel_mask   15

# Number of frames to run
num_frames_to_run  1000000

# Show output in HDMI/eDP, 0-disable, 1-enable
display_option    1

# Supported usecase options 0, 1
usecase_option   0

# enable interactive mode 0-noninteractive, 1-interactive
is_interactive    1

# enable writing final output 0-disable, 1-enable
en_out_img_write  1

# enable writing csix output 0-disable, 1-enable
en_out_capture_write  0

# enable writing viss output 0-disable, 1-enable
en_out_viss_write  0

# enable writing ldc output 0-disable, 1-enable
en_out_ldc_write  0

# Number of frames to write per 's' command,
num_frames_to_write 1

# Number of frames to skip per 's' command, Eg. 0-no frame skip, 1-skip 1 frame, 2-skip 2 frames etc.
num_frames_to_skip  0

# path to write the processed frames
output_file_path /opt/vision_apps/app_cam_out

# Disable error detection by default
enable_error_detection  0

# Configure HWA frequency in application
enable_configure_hwa_freq  0

# Configures VPAC/DMPAC frequency
# Valid values: 0 for VPAC 650 MHz, DMPAC 520 MHz; 1 for VPAC 720 MHz, DMPAC 480 MHz
# Valid only if enable_configure_hwa_freq is set to 1
hwa_freq_config  0

# Flag to bypass split graph configuration
bypass_split_graph 0

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

    尊敬的 Komal:

    不应启用 TEST_MODE、该值应为 0

    并且在程序中对路径进行了硬编码、无需在配置文件中提及

    此致、
    Gokul