Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/PROCESSOR-SDK-AM437X: detect_barcode with live camera

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Linux

Hi,

running this with PSDK 3.2.0.5 on an AM437x EVM, here are my observations

[] detect_barcode using the sample_barcode.jpg works

[] detect_barcode with live camera

root@am437x-evm:/usr/share/ti/image# detect_barcode 1 1 1
VIDEOIO ERROR: V4L: index 1 is not correct!
Frame per seconds : 100
init done
Using Wayland-EGL
wlpvr: PVR Services Initialised


This works with /dev/video0 (if this is the only camera connected). It fails if additionally the second camera is connected to the EVM.

This demo starts running with the live camera, and at slower frame rate, barcodes are being detected.

Eventually letting it run the demo hits a seg fault ...
root@am437x-evm:/usr/share/ti/image# detect_barcode 1 1 1
VIDEOIO ERROR: V4L: index 1 is not correct!
Frame per seconds : 100
init done
Using Wayland-EGL
wlpvr: PVR Services Initialised
Segmentation fault (core dumped)

I also wanted to check on the performance and framerates. The demo seems to be architected for functionality. Could someone comment on how the performance can be optimized?

Thanks,

--Gunter


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>