Part Number: SK-TDA4VM
Hi
I'm using sk-tda4vm with imx219.
If it set camera on custom in Edge AI gallery, it works well.
I modified the image_classification.yaml file in the /opt/edgeai-gst-apps/configs path and set it to receive input from /dev/video2. (input0)
When the phrase "./app_edgeai.py..."/configs/image_classification.yaml" is entered into the terminal and executed, the app shuts down immediately after the display flashes once.
The same goes for other .yaml files.
Below is the log when executing the above statement.
root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python# ./app_edgeai.py ../configs/image_classification.yaml
2023-05-30 11:44:47,334 INFO Could not find libdlr.so in model artifact. Using dlr from /usr/dlr/libdlr.so
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
546.433774 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
546.433841 s: VX_ZONE_INIT:Enabled
546.433851 s: VX_ZONE_ERROR:Enabled
546.433859 s: VX_ZONE_WARNING:Enabled
546.434546 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
546.435789 s: VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
==========[INPUT PIPELINE(S)]==========
[PIPE-0]
v4l2src device=/dev/video2 pixel-aspect-ratio=None ! capsfilter caps="image/jpeg, width=(int)1280, height=(int)720;" ! jpegdec ! tiovxdlcolorconvert ! capsfilter caps="video/x-raw, format=(string)NV12;" ! tiovxmultiscaler name=split_01
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)1280, height=(int)720;" ! tiovxdlcolorconvert out-pool-size=4 ! capsfilter caps="video/x-raw, format=(string)RGB;" ! appsink max-buffers=2 drop=True name=sen_0
split_01. ! queue ! capsfilter caps="video/x-raw, width=(int)454, height=(int)256;" ! tiovxdlcolorconvert out-pool-size=4 ! capsfilter caps="video/x-raw, format=(string)RGB;" ! videobox qos=True left=115 right=115 top=16 bottom=16 ! tiovxdlpreproc out-pool-size=4 data-type=3 ! 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=3 sink_0::startx="<320>" sink_0::starty="<180>" 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=Image Classification ! kmssink sync=False max-lateness=5000000 qos=True processing-deadline=15000000 driver-name=tidss connector-id=48 plane-id=31 force-modesetting=True
550.907251 s: VX_ZONE_INIT:[tivxHostDeInitLocal:107] De-Initialization Done for HOST !!!
550.910867 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: 25 alloc's of 57040948 bytes
DDR_SHARED_MEM: Free's : 25 free's of 57040948 bytes
DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes
DDR_SHARED_MEM: Total size: 536870912 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
How can I solve this problem?
Thank you in advance for your help.