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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Run OpenCV on Cloud Run with GPU acceleration\n\nThe following repository shows how to use GPUs on Cloud Run to accelerate OpenCV\nworkloads with CUDA. The demo uses the Farneback algorithm for estimating optical flow\non your webcam feed, and lets you compare CPU-only performance with GPU-accelerated performance.\n\nSee the repository at [OpenCV CUDA accelerated demo on Cloud Run with GPU support](https://github.com/GoogleCloudPlatform/cloudrun-gpus-opencv-cuda-demo/)."]]