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.
Part Number: PROCESSOR-SDK-DRA8X-TDA4X
Hi,
I'm testing vision apps on sd card. And found an undocumented trick to run Stereo Disparity without changing app_stereo.cfg as descripted in document: export APP_STEREO_DATA_PATH environment variable.
export APP_STEREO_DATA_PATH=/opt/vision_apps/test_data/psdkra/stereo_test_data
And since stereo test_data is installed a required path "/opt/vision_apps" by document https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/vision_apps/docs/user_guide/RUN_INSTRUCTIONS.html
why not just export APP_STEREO_DATA_PATH in vision_apps_init.sh? It's convenient and then there is no field changing is required.
A sample "app_stereo.cfg" for Stereo Depth is provided under "/opt/vision_apps/" on the rootfs partition. Update paths and other fields as required.
software-dl.ti.com/.../group_apps_basic_demos_app_stereo.html
Hi Yang,
vision apps init script just exports the top level path to the test data, then individual application can use it to point to their respective data path, which can be provided in the config file. We can also export, but this is just one selected method.
Regards,
Brijesh
Hi Yang,
Thanks for the suggestion. By the way, which SDK are you using? I don't believe this was in place in SDK 7.0 as you mention, but this should be available in SDK 7.1.
Regards,
Lucas
Hi Yang,
Could you please attach the vision_apps_init.sh script you are using?
Regards,
Lucas
Hi Lucas,
It's here:
export VX_TEST_DATA_PATH=/opt/vision_apps/test_data # Location of the input data for PTK demos export TIAP_DATABASE_PATH=/opt/vision_apps/test_data_ptk # Location of the input data for Stereo demo export APP_STEREO_DATA_PATH=$VX_TEST_DATA_PATH/psdkra/stereo_test_data # APP config path for PTK demos export APP_CONFIG_BASE_PATH=/opt/vision_apps/ptk_app_cfg /opt/vision_apps/vx_app_linux_arm_remote_log.out &
Hi Yang,
As you can see from the above, the APP_STEREO_DATA_PATH has been set as per the below line. Please let me know if you have any further questions.
export APP_STEREO_DATA_PATH=$VX_TEST_DATA_PATH/psdkra/stereo_test_data
Regards,
Lucas
Hi Yang,
I see, yes I agree that would be a more appropriate wording for this section. We will make this update to include in future versions of the SDK.
Regards,
Lucas