Hello, I am TDA4VM user with CSI camera for running edge ai - object detection
I finished and checked camera setting with the gstreamer. (There is no problem with camera)
I also checked with /opt/edge_ai_apps/init_script.sh
+ installed all the libraries that are required to run edge ai with the setup_script.sh
and when I run the object detection
sudo /opt/edge_ai_apps/apps_python/app_edgeai.py configs/object_detection.yaml
and here is the result, but looks like have some error somewhere.. how to fix?
debian@myname:/opt/edge_ai_apps$ sudo /opt/edge_ai_apps/apps_python/app_edgeai.py configs/object_detection.yaml
libtidl_onnxrt_EP loaded 0x12923ee0
Final number of subgraphs created are : 1, - Offloaded Nodes - 391, Total Nodes - 391
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 !!!
9408.066545 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
9408.082145 s: VX_ZONE_INIT:Enabled
9408.082202 s: VX_ZONE_ERROR:Enabled
9408.082209 s: VX_ZONE_WARNING:Enabled
9408.090617 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
9408.090889 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[GST SRC STR]
[FLOW 0]
v4l2src device=/dev/video2 ! queue leaky=2 ! video/x-bayer, width=640, height=480, format=rggb ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name=SENSOR_SONY_IMX219_RPI dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin format-msb=7 ! video/x-raw, format=NV12 !tiovxmultiscaler name=split_01
split_01. ! queue ! video/x-raw, width=640, height=480 ! videoscale ! video/x-raw, width=640, height=640 ! tiovxdlpreproc data-type=3 target=0 channel-order=0 tensor-format=rgb out-pool-size=4 ! application/x-tensor-tiovx ! appsink name=pre_0 max-buffers=2 drop=true
split_01. ! queue ! video/x-raw, width=320, height=320 ! tiovxdlcolorconvert target=1 out-pool-size=4 ! video/x-raw, format=RGB ! appsink name=sen_0 max-buffers=2 drop=true
[GST SINK STR]
appsrc format=GST_FORMAT_TIME is-live=true block=true do-timestamp=true name=post_0 ! tiovxdlcolorconvert ! video/x-raw,format=NV12, width=320, height=320 ! queue ! mosaic_0.sink_0
tiovxmosaic name=mosaic_0 background=/tmp/background_0
sink_0::startx=0 sink_0::starty=0 sink_0::width=320 sink_0::height=320
! video/x-raw,format=NV12, width=320, height=320 ! kmssink sync=false driver-name=tidss
9415.252221 s: VX_ZONE_WARNING:[vxReleaseContext:1050] Found a reference 0xffff7f6f64e0 of type 00000816 at external count 1, internal count 0, releasing it
9415.252464 s: VX_ZONE_WARNING:[vxReleaseContext:1052] Releasing reference (name=user_data_object_155) now as a part of garbage collection
9415.253495 s: VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
9415.297187 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 ... !!!
MEM: Alloc's: 45 alloc's of 54151372 bytes
MEM: Free's : 45 free's of 54151372 bytes
MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!




