Run OpenCV on Cloud Run with GPU acceleration
Stay organized with collections
Save and categorize content based on your preferences.
The following repository shows how to use GPUs on Cloud Run to accelerate OpenCV
workloads with CUDA. The demo uses the Farneback algorithm for estimating optical flow
on your webcam feed, and lets you compare CPU-only performance with GPU-accelerated performance.
See the repository at OpenCV CUDA accelerated demo on Cloud Run with GPU support.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]