Jump to content

Birds Eye View/GStreamer/Generic Pipelines: Difference between revisions

no edit summary
No edit summary
Line 13: Line 13:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
CAPS="video/x-raw, width=1280, height=720, format=RGBA"   
CAPS="video/x-raw, width=1280, height=720, format=RGBA"   
</syntaxhighlight>
= Birds Eye View from images =
For this example we will use the samples images provided.
== Saving a image ==
<syntaxhighlight lang=bash>
gst-launch-1.0 bev name=bev0 calibration-file=$CALIBRATION_FILE \
filesrc location=samples/bev_6_cameras/cam_0.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_0 \
filesrc location=samples/bev_6_cameras/cam_1.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_1 \
filesrc location=samples/bev_6_cameras/cam_2.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_2 \
filesrc location=samples/bev_6_cameras/cam_3.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_3 \
filesrc location=samples/bev_6_cameras/cam_4.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_4 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_5 \
bev0. ! queue ! videoconvert ! jpegenc ! filesink location=$OUTPUT
</syntaxhighlight>
</syntaxhighlight>


Line 88: Line 104:
</syntaxhighlight>
</syntaxhighlight>


= Birds Eye View from images =
For this example we will use the samples images provided.
== Saving a image ==
<syntaxhighlight lang=bash>
gst-launch-1.0 bev name=bev0 calibration-file=$CALIBRATION_FILE \
filesrc location=samples/bev_6_cameras/cam_0.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_0 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_1 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_2 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_3 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_4 \
filesrc location=samples/bev_6_cameras/cam_5.jpg ! jpegparse ! jpegdec ! videoconvert ! queue ! bev0.sink_5 \
bev0. ! queue ! videoconvert ! jpegenc ! filesink location=$OUTPUT
</syntaxhighlight>


{{Birds Eye View/Foot|GStreamer/GstBEV Plugin|GStreamer/Jetson Pipelines}}
{{Birds Eye View/Foot|GStreamer/GstBEV Plugin|GStreamer/Jetson Pipelines}}
457

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.