Other Parts Discussed in Thread: AM625
Tool/software:
Hello all,
We are evaluating using an im219 sensor with AM62SIP and are trying to get a standard format video stream (standard as in MJPEG, etc).
The issue is, of course, that the AM62SIP does not have a hardware ISP like the AM62A does.
-
So has anyone been able to get a standard format video stream out of the AM62SIP board with IMX219 sensor?
-
We are currently looking into 3 approaches:
1. use libcamera as ISP
2. use Infinite ISP as ISP
3. use Opencv as ISP
We are able to capture, save, and display a single bayer image from the imx219 by using a crude GStreamer ISP Bayer2RGB with the following commands
Take and save image:
media-ctl --set-v4l2 '"imx219 1-0010":0[fmt:SRGGB8/1920x1080]' ; media-ctl -d 0 --set-v4l2 ''\''cdns_csi2rx.30101000.csi-bridge'\'':0 [fmt:SRGGB8/1920x1080]'; media-ctl -d 0 --set-v4l2 ''\''30102000.ticsi2rx'\'':0 [fmt:SRGGB8/1920x1080]'
gst-launch-1.0 v4l2src device="/dev/video0" num-buffers=1 ! video/x-bayer, format=rggb, width=1920, height=1080 ! bayer2rgb ! jpegenc ! filesink location=image.jpg
Take image and display over HDMI:
systemctl stop weston
media-ctl --set-v4l2 '"imx219 1-0010":0[fmt:SRGGB8/1920x1080]' ; media-ctl -d 0 --set-v4l2 ''\''cdns_csi2rx.30101000.csi-bridge'\'':0 [fmt:SRGGB8/1920x1080]'; media-ctl -d 0 --set-v4l2 ''\''30102000.ticsi2rx'\'':0 [fmt:SRGGB8/1920x1080]'
gst-launch-1.0 v4l2src device="/dev/video0" num-buffers=1 ! video/x-bayer, format=rggb, width=1920, height=1080 ! bayer2rgb ! imagefreeze ! kmssink driver-name=tidss plane-properties=s,zpos=1
-
The issue is that the crude bayer2rgb conversion from GStreamer shows images that are green and low quality.
This is why we are exploring alternatives.
-
Hardware used:
SK-AM62SIP EVM,
camera: Raspberry Pi v2 camera module (imx219 sensor)
Software used:
default armbian image: tisdk-debian-trixie-am62xxsip-evm-11.01-Armbian-25.08.img
uEnv.txt contains: name_overlays=ti/k3-am625-sk-m2-cc3351.dtbo ti/k3-am62x-sk-csi2-imx219.dtbo
Here is an example image:
Any and all help will be very appreciated!