Introduction
This application demonstrates the use of VISS node and TI's 2A (AE & AWB) algorithm in multi-channel mode, where the raw output is encoded to file. The dataflow is
- Configure image sensors using sensor driver f/w APIs
- Acquire RAW images from camera sensors
- Process the images on VISS
- Run AE (Auto Exposure) and AWB (AutoWhiteBalance) algorithms, using H3A output from VISS
- Run LDC on the output of VISS
- Scale LDC output using MSC and arrange in a mosaic
- Encode the output using H.264 video encoder to filesystem
Any number of cameras from 1-8 can be selected by the user. The application assumes that all cameras are identical.
Supported plaforms
| Platform | Linux x86_64 | Linux+RTOS mode | QNX+RTOS mode | SoC |
| Support | NO | YES | YES | J721e |
Data flow
Steps to run the application on J721e EVM
- Build the application and related libraries as mentioned in Build Instructions
- Connect four D3-IMX390 RCM sensor boards on cam0, cam1, cam2 and cam3 input ports of the Fusion1 board.
- Use the is_interactive flag to run the demo in an interactive mode which allows the user to print performance characteristics on the UART console.
- Run the app as shown below
cd /ti_fs/vision_apps
. ./vision_apps_init.sh
./run_app_encode.sh
- The processed output for one of the captured channel is is encoded to file and saved as /opt/vision_apps/test_data/output/encode_output.h264
- Copy this file to linux PC and play h.264 raw file using ffplay as shown below.
ffplay -f h264 encode_output.h264