# Camera streaming using OpenCV
Source: [https://docs.qualcomm.com/doc/80-70020-50/topic/gst-camera-opencv-resize-py.html](https://docs.qualcomm.com/doc/80-70020-50/topic/gst-camera-opencv-resize-py.html)
The **gst-camera-opencv-resize.py** application uses OpenCV APIs to capture a
camera frame from a live camera stream, and then apply color conversion or re-size the
frame. The re-sized output is displayed on the screen.
Note: This application isn't supported on the Ubuntu Server.
Figure : gst-camera-opencv-resize.py pipeline
## Run the application on the target device
1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70020-50/topic/prerequisites-for-python-sample-applications.html).
2. Run the application with input from a live
camera.
gst-camera-opencv-resize.py --inwidth 1280 --inheight 720 --outwidth 640 --outheight 480Copy to clipboard
The
stream is displayed on the screen.
## Expected output
Figure : Expected output for gst-camera-opencv-resize.py

## Pipeline flow
The following table lists the plugins used to run the camera streaming with
OpenCV pipeline:| Plugin | Description |
| --- | --- |
| [qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70020-50/topic/qtiqmmfsrc.html) | Captures the video stream and feeds it into the capsfilter. |
| capsfilter | Enforces constraints on the raw video data. |
| queue | Puts the video data in a queue till the buffer limit is met. |
| [qtivtransform](https://docs.qualcomm.com/doc/80-70020-50/topic/qtivtransform.html) | Transforms the video data. After transformation, capsfilter is applied again. |
| [Waylandsink](https://docs.qualcomm.com/doc/80-70020-50/topic/waylandsink.html) | Displays the video stream on the Wayland display. |
## Related information
[Single camera streaming](https://docs.qualcomm.com/doc/80-70020-50/topic/gst-camera-single-stream-example.html)
**Parent Topic:** [Python applications](https://docs.qualcomm.com/doc/80-70020-50/topic/python-sample-applications.html)
Last Published: Jan 30, 2026
[Previous Topic
Camera encoding](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/camera-encode.md) [Next Topic
Video transformation using OpenCV](https://docs.qualcomm.com/bundle/publicresource/80-70020-50/topics/video-playback-using-opencv.md)