Hi Jianzhong,
We have a customized model that can run when using the IMX219 sensor, but cannot run the model using the ov9284 sensor.
It is normal to only use the ov9284 sensor to display images.
media-ctl --set-v4l2 '"ov9284 4-0010":0 [fmt:Y10_1X10/1280x800]' gst-launch-1.0 -v v4l2src device=/dev/video3 io-mode=dmabuf-import ! video/x-bayer, width=1280, height=800, framerate=30/1, format=bggr10 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_OV9284_RPI" dcc-isp-file=/opt/imaging/ov9284/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/ov9284/linear/dcc_2a.bin format-msb=9 ! video/x-raw, format=NV12, width=1280, height=800, framerate=30/1 ! kmssink driver-name=tidss

When I want to run a customized model using the ov9284 sensor, an error occurs.
./apps_python/app_edgeai.py configs/object_detection.yaml
object_detection.yaml
title: "Object Detection"
log_level: 2
inputs:
input0:
source: /dev/video3
format: Y10
width: 1280
height: 800
framerate: 30
input1:
source: /opt/edgeai-test-data/videos/video0_1280_768.h264
format: h264
width: 1280
height: 768
framerate: 30
loop: True
input2:
source: /opt/edgeai-test-data/images/%04d.jpg
width: 1280
height: 720
index: 0
framerate: 1
loop: True
models:
model0:
model_path: /opt/model_zoo/od-8200-12.01
viz_threshold: 0.6
model1:
model_path: /opt/model_zoo/TFL-OD-2020-ssdLite-mobDet-DSP-coco-320x320
viz_threshold: 0.6
model2:
model_path: /opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416
viz_threshold: 0.6
outputs:
output0:
sink: kmssink
width: 1920
height: 1080
overlay-perf-type: graph
output1:
sink: /opt/edgeai-test-data/output/output_video0.mkv
width: 1920
height: 1080
output2:
sink: /opt/edgeai-test-data/output/output_image_%04d.jpg
width: 1920
height: 1080
output3:
sink: remote
width: 1920
height: 1080
port: 8081
host: 127.0.0.1
encoding: jpeg
overlay-perf-type: graph
flows:
flow0: [input0,model0,output0,[320,150,1280,720]]

error logs:
root@am62axx-evm:/opt/edgeai-gst-apps# ./apps_python/app_edgeai.py configs/object_detection.yaml libtidl_onnxrt_EP loaded 0x288bc270
Final number of subgraphs created are : 1, - Offloaded Nodes - 257, Total Nodes - 257
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=5) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
1831.089776 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
1831.089937 s: VX_ZONE_INIT:Enabled
1831.089962 s: VX_ZONE_ERROR:Enabled
1831.089971 s: VX_ZONE_WARNING:Enabled
1831.091892 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
1831.092476 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
[ 1620.197057] ov9284 4-0010: sensor is actiove
[ 1620.218179] ov9284 4-0010: Received vblank 1022, new lpfr 1822
[ 1620.224198] ov9284 4-0010: success to start streaming
[ 1620.229266] ov9284 4-0010: sensor start stream success.
[ 1620.234532] cdns-csi2rx 30101000.csi-bridge: ov9284 success to start streams 0x1 on subdev
[ 1620.242811] j721e-csi2rx 30102000.ticsi2rx: ov9284 v4l2_subdev_enable_streams success
[ 1620.250659] j721e-csi2rx 30102000.ticsi2rx: ov9284 check ti_csi2rx_start_streaming finish
[ 1620.259065] ov9284 4-0010: ov9284 set stream unable
==========[INPUT PIPELINE(S)]==========
[ 1620.675842] ov9284 4-0010: sensor is actiove
[PIPE-0]
v4l2src device=/dev/video3 pixel-aspect-ratio=None ! capsfilter caps="video/x-raw, width=(int)1280, height=(int)800;" ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV1[ 1620.697268] ov9284 4-0010: Received vblank 1022, new lpfr 1822
2;" ! tiovxmultiscaler name=split_01
split_01. ! queue ! capsfi[ 1620.704420] ov9284 4-0010: success to start streaming
lter caps="video/x-raw, width=(int)1280, height=(int)720;" ! tio[ 1620.714879] ov9284 4-0010: sensor start stream success.
vxdlcolorconvert out-pool-size=4 ! capsfilter caps="video/x-raw,[ 1620.725644] cdns-csi2rx 30101000.csi-bridge: ov9284 success to start streams 0x1 on subdev
format=(string)RGB;" ! appsink max-buffers=2 drop=True name=sen[ 1620.739442] j721e-csi2rx 30102000.ticsi2rx: ov9284 v4l2_subdev_enable_streams success
_0
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int[ 1620.752811] j721e-csi2rx 30102000.ticsi2rx: ov9284 check ti_csi2rx_start_streaming finish
)416, height=(int)416;" ! tiovxdlpreproc out-pool-size=4 data-type=3 tensor-format=1 ! capsfilter caps="application/x-tensor-tiovx;" ! appsink max-buffers=2 drop=True name=pre_0
==========[OUTPUT PIPELINE]==========
appsrc do-timestamp=True format=3 block=True name=post_0 ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720;" ! queue ! mosaic_0.sink_0
tiovxmosaic target=1 background=/tmp/background_0 name=mosaic_0 src::pool-size=4
sink_0::startx="<320>" sink_0::starty="<150>" sink_0::widths="<1280>" sink_0::heights="<720>"
! capsfilter caps="video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080;" ! queue ! tiperfoverlay title=Object Detection ! kmssink sync=False max-lateness=5000000 qos=True processing-deadline=15000000 driver-name=tidss connector-id=40 plane-id=31 force-modesetting=True
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+[ERROR] Error pulling tensor from GST Pipeline
[ 1625.880660] ov9284 4-0010: ov9284 set stream unable
+--------------------------------------------------------------------------+
| Object Detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
| Input Src: /dev/video3 |
| Model Name: od-8200-12.01 |
| Model Type: detection |
+--------------------------------------------------------------------------+
+--------------------------------------------------------------------------+
1838.282019 s: VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
1838.286983 s: VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 51 alloc's of 86277732 bytes
DDR_SHARED_MEM: Free's : 51 free's of 86277732 bytes
DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
root@am62axx-evm:/opt/edgeai-gst-apps#
Best Regards,
Ruihua







