OpenCV University (@OpenCVUniverse) header
OpenCV University (@OpenCVUniverse) profile picture

Take your first steps to Mastery in AI with our Free Bootcamp👇

worldwide
Joined June 2023
Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)Photo by OpenCV University (@OpenCVUniverse)
Sobel vs Canny on one cat photo: 6.9% vs 1.35% edge pixels. Raw Sobel used no blur—a rough visual comparison, not a benchmark. Use Sobel for gradients; Canny for thin outlines. Photo: Chelsea, scikit-image (CC0). Code: youtu.be/J1KGGsvxY0w
113
Same laptop, same YOLO26 model, same traffic clip. OpenCV 5 classic: 82 s. New engine: 25 s. Same 12 crossings. One-laptop demo, not a benchmark. Counts are estimates. Footage: Pexels via LearnOpenCV. Model: Ultralytics. #OpenCV #ComputerVision
🤖 Made with AI
135
Can AI recognize dance from a moving skeleton? We trained models to classify ten street dance styles and tested on 406 clips from dancers they had never seen. One frozen frame got 39%; hand-built motion features reached 84%, and a small temporal CNN reached 86%. Then we froze body parts. Without arm motion, Locking accuracy fell from 100% to 16%, with most mistakes called Krump. Without torso motion, Krump fell from 89% to 41%. Real footage exposed the limits: on eight fresh breaking clips the CNN got six right. In a crowded battle, it gave the right label while tracking a spectator. The eight-clip test is a demo, not a benchmark. Split data by person, inspect the skeleton before trusting the label, and give your model a way to say “I don’t know.” Which dance style should it learn next? Data: AIST++ (2D keypoints, CC BY 4.0), built on the AIST Dance Video Database. Pose estimation: MediaPipe Pose. Footage: “Waacking” by JA’KNOWS (CC BY 3.0, Wikimedia Commons); “Airflare” by B2frison (CC BY-SA 4.0, Wikimedia Commons); breaking and floor-work clips from Mixkit (Mixkit Free License); popping clip from Envato Elements. No endorsement implied. #ComputerVision #PoseEstimation #MachineLearning #DanceStyles
125
Two players cross. Their identities should not. Cricket Player Tracking with OpenCV: Who Is Who? Finding players is only the start. Keeping their identities is the real challenge. We used a drone clip of a cricket match to test tracking in three rounds: one player, two crossing players, and the whole field. OpenCV CSRT followed the bowler through his run-up. Linking YOLOX detections by box overlap swapped two crossing players in 9 of 9 settings. Predicting motion on a ground map held the crossing in most settings—but lost the batter and keeper during a pile-up in 9 of 9. Adding kit colour helped, yet across 18 settings at least one player was still lost in about a third. The map uses the 20.12 m pitch and people as rough 1.7 m rulers. Its estimated position error on the field was within about 2.5 m, usually better. Takeaway: test crossings, occlusions and identical kits before trusting a tracker. Motion and appearance help with different failures. Scope: one 18-second clip for the main experiment, plus a second clip for identical kits. Settings are parameter sweeps, not separate videos. This is an experiment, not a benchmark, and is not real-time as built. Footage: Hindustani Lens and LayG Traveller, Pexels. No endorsement implied. Tools: OpenCV CSRT, KCF, DNN and Kalman filter; YOLOX-S from the OpenCV Model Zoo (Ge et al., YOLOX, 2021, arXiv:2107.08430). #ComputerVision #OpenCV #ObjectTracking #Cricket
🤖 Made with AI
95
Bigger input, fewer misses—but sometimes more boxes. YOLO Input Size: 640 vs 1280, Is Bigger Better? We ran YOLO11n on the same 114 frames of a skatepark clip twice. The only change was input size: 640 vs 1280. Confidence stayed at 0.25 and NMS IoU at 0.70. Frame 82: no skateboard box at 640; at 1280 the board gets a box. The board is about 34 pixels wide in the 640 input and 68 pixels at 1280. Frame 103: three overlapping boxes at 640, one at 1280. Frame 24: 1280 boxes the board twice. Their overlap is 0.67 IoU, below the 0.70 NMS threshold, so both stay. Bigger input is not an automatic fix. Check your footage for missed objects and duplicate boxes, and tune NMS together with input size. Scope: selected frames from one clip and one model, not an accuracy benchmark. We did not measure speed. Close-ups are zooms for viewing; YOLO ran on full frames. Confidence scores are not accuracy. Footage: “People Skateboarding at the Skatepark” by RDNE Stock project, Pexels. pexels.com/video/people-skat… Model: YOLO11n, Ultralytics. github.com/ultralytics/ultra… No endorsement implied. #YOLO #ComputerVision #ObjectDetection
🤖 Made with AI
75
Better-looking water, worse detection. Image Enhancement Made Our Detector Worse We colour-corrected underwater images, then tested detection on 506 seafloor images containing 3,218 labelled sea urchins, sea cucumbers and scallops. A YOLO26n detector trained on raw images scored 83.7% mAP50. On physics-corrected images it fell to 67.5%, finding 574 fewer animals. Sea cucumber AP50 dropped from 70.5% to 37.0%. Training on corrected images from the start scored 84.1%, about the same as raw. The lesson: match preprocessing in training and deployment, and measure detection performance, not just how the images look. Scope: one dataset, one small model, five training epochs on CPU, one run each, colour augmentation off. Our physics correction is a Sea-thru-style approximation using estimated distance; it is not Sea-thru itself. This is an experiment, not a benchmark. Footage: NOAA Ocean Exploration (public domain). Illustrative Sea-thru input, result and diver photos: Derya Akkaynak and Tali Treibitz, VISEAON Marine Imaging Lab, University of Haifa, Sea-thru (CVPR 2019). viseaon.haifa.ac.il/ Test data: URPC-style underwater detection set via github.com/LehiChiang/Underw… Models: Ultralytics YOLO26n and YOLOE-26. No endorsement implied. #ComputerVision #ObjectDetection #UnderwaterRobotics
🤖 Made with AI
56
Glass needs a team: camera scale plus AI shape. Can AI See Glass Better Than a Depth Camera? Only with the camera’s help. We tested Depth Anything V2 (large, metric indoor) on 113 real ClearGrasp scenes captured with Intel RealSense depth cameras. A glass pixel counted as correct if it was within 5% of the reference depth; missing readings counted as wrong. On one clear glass dish: camera 7%, AI + camera scale 99%. Across all 113 scenes: camera 32%, AI + camera scale 78%. The scaled AI did better in 101 scenes. Without scaling, the AI scored 0% on the glass in this experiment. We set its scale using the camera’s non-glass depth, not the reference depth. Away from glass, the camera was better: 98% within the tolerance, versus 83% for the AI. The camera supplies reliable scale; the AI helps recover shape. Use them together. Scope: one model, 113 lab scenes from 2020. Reference depth came from the same camera after glass objects were replaced with opaque copies. This is an experiment, not a benchmark or a claim about every camera or model. Data: ClearGrasp real test scenes, Sajjan et al., “ClearGrasp: 3D Shape Estimation of Transparent Objects for Manipulation”, ICRA 2020 (Google and collaborators). sites.google.com/view/clearg… Model: Depth Anything V2, Yang et al., 2024, Metric Indoor Large. Intel RealSense is a trademark of Intel. No endorsement implied. #ComputerVision #DepthEstimation #Robotics
🤖 Made with AI
107
The wall did not move. The depth reading did. YOLO26 Depth Estimation: Can You Trust the Meters? We tested YOLO26n-depth on 654 indoor NYU Depth V2 photos to see how much we could trust its distances. A simulated 2x zoom made the same surfaces read about 46% closer. One wall, 2.4 m away, read 2.79 m on the full photo and 1.37 m after zooming. Rescaling each prediction to the ground truth before grading gave 78% within 25% of the true distance. Grading the raw meters gave 53%. Out of the box, readings were about 18% too far, with roughly 67 cm average error. One scale correction fitted from 150 ground-truth points on 30 training photos reduced the bias to 2%. But applying that correction to zoomed photos made them worse: 45% too close. Fitting on zoomed training photos instead brought the bias to 6%. Takeaway: check the distances on your own camera and calibrate at the zoom you will actually use. Scope: one nano model, one indoor dataset, zoom simulated by centre-cropping and resizing. NYU Depth V2 may be part of the training mix, so treat this as an experiment, not a benchmark. Test photos were not used to fit the calibration. Data: NYU Depth V2, Silberman, Hoiem, Kohli and Fergus, “Indoor Segmentation and Support Inference from RGBD Images”, ECCV 2012. Model and calibration guidance: Ultralytics YOLO26 depth. No endorsement implied. #ComputerVision #DepthEstimation #YOLO26
🤖 Made with AI
3
188
A defect detector can flag the image and still miss much of the defect. We built a PatchCore-based detector from 492 photos of good capsules in VisA, and set its cut-off with 50 separate good photos. On 160 test images, it flagged 73 of 100 defective images, missed 27, and raised zero false alarms on 60 good images. Finding a defective image is only part of the job. On the opening capsule, the marked area covered about 26% of the labelled defect. Another example peaked on the defect but stayed below the cut-off. Check what the detector misses, what it flags by mistake, and whether it points at the defect. Development experiment, not a production test: we reused the test set while building the method. These numbers do not predict factory performance. The two examples were selected after results to show a partial hit and a miss. Method: PatchCore (Roth et al., 2022), ImageNet-pretrained WideResNet-50, 2% coreset. Images/annotations: VisA, Yang Zou, Jongheon Jeong, Latha Pemula, Dongqing Zhang and Onkar Dabeer, SPot-the-Difference (2022). Resized and annotated with our experiment outputs. CC BY 4.0. No endorsement implied. github.com/amazon-science/sp… creativecommons.org/licenses… #AnomalyDetection #ComputerVision #OpenCV
🤖 Made with AI
1
108
30 cans, 31 boxes. One extra box wrapped two cans. A real box sat 99% inside it, but IoU was 0.42—below NMS 0.45. A containment check flagged it. One photo/model, not a benchmark. Photo: AustinNeil, Wikimedia Commons, CC BY 4.0. Cropped and annotated. No endorsement. commons.wikimedia.org/wiki/F… creativecommons.org/licenses…
🤖 Made with AI
61
One second of Kohli's flick shot. Six AI models. One 3D ribbon. SAM grabbed the stumps too. The fix: ask for wicket and subtract. Relative depth, hand-scaled: a sketch, not a measurement. One clip, not a benchmark. Footage: Cricket Australia / Fox Cricket, for analysis and commentary. No endorsement. Notebook: learnopencv.com/decoding-vir… #ComputerVision #ViratKohli
148
Same matte, two cutouts. Round alpha to 0 or 1: curly hair becomes blobs. Keep fractional alpha: finer wisps remain. Dark backgrounds can hide errors. One portrait, manual guide—not a benchmark. Photo: Tom Morbey/Unsplash. No endorsement. Method: PyMatting.
🤖 Made with AI
90
Sharp does not mean accurate. In our NASA-photo test, Real-ESRGAN looked sharper but changed flag stripes and stitched dots. Bicubic stayed closer: 26.2 vs 24.5 dB PSNR. One photo/model, not a benchmark. Photo: NASA/Robert Markowitz, via Wikimedia Commons. No endorsement.
🤖 Made with AI
93
An arrow release is easier to time than the start of a draw. Our Gemini 4 Carbon experiment shows why precise labelling rules matter. We gave Gemini 4 Carbon a 14-second archery clip and checked its timestamps against our own frame-by-frame marks. Release: Carbon said 11.000 s; we marked 10.919 s. That is 81 ms apart, about 2 frames at 25 fps. Start of the draw: Carbon said 6.000 s; we marked 5.286 s. That is 0.714 s apart, about 18 frames. On a second clip, our own two marking passes were 7 ms apart on the release and 83 ms apart on the start of the draw. Sharp events are easier to pin down than gradual ones. Before labelling video, define exactly where each phase begins. Scope: one model, two clips, manual markers. Our marks are visual estimates, not frame-perfect ground truth. This is a small experiment, not a benchmark. Footage: Mikhail Nilov via Pexels (Pexels License): pexels.com/video/side-view-o… “Field Archery” by Simon Allen, Wikimedia Commons, CC BY 3.0: commons.wikimedia.org/wiki/F… creativecommons.org/licenses… Changes: excerpted, slowed, frames extracted, audio removed, annotations and commentary added. No endorsement by the creators or people shown is implied. Model: Gemini 4 Carbon (Google), used through the Gemini app. #ComputerVision #VideoUnderstanding #Gemini
🤖 Made with AI
1
136
Same YOLO11n weights. Same images. Different boxes after an Ultralytics update. In our seven-image experiment, 8.4.208 changed the default prediction NMS IoU threshold from 0.7 to 0.5. Setting iou=0.7 restored every box, score and class ID exactly. The opening frame went from 9 person detections to 6. The removed boxes were duplicates or broad boxes spanning overlapping players; we did not find a distinct person lost. This is not an accuracy benchmark. Set thresholds explicitly. Pin your version. Test your own images. Footage: SoccerTrack v2, Atom Scott et al., CC BY 4.0; cropped and upscaled with detection overlays. atomscott.github.io/SoccerTr… creativecommons.org/licenses… Tie close-up: Ultralytics' bundled zidane.jpg sample, cropped with overlays. Release notes: github.com/ultralytics/ultra… Model: YOLO11n by Ultralytics. No endorsement implied. #YOLO #ComputerVision #Ultralytics
79
We gave Mirage, a 22 MB offline vision model, 10 real signs. Plain words: 6/6 right. Accented words: 0/8. ARRĂŠT became ARRET on four stop signs; StraĂźe became Strabe. Hindi and Telugu on two Indian railway boards: 0/4. Test in your users' language before you ship. Small experiment, not a benchmark: one model, three runs per image. Two boards cannot establish performance across Indian languages. Images: Wikimedia Commons, CC BY-SA, by Mike Fitzsimon, Tony Webster, B3251, Malimage, BrokenSphere, Ana Paula Hirama, Ben AlHĂĽrxe and Adityamadhav83. Demo image: Cactus Compute / COCO. No endorsement implied. #ComputerVision #OCR #EdgeAI
2
127
AI & Computer Vision News (Nov 2–6): Demo vs Real Data Seven stories, from Sekai's event memory to annotator-free object detection. Authors report 60.8 AP on COCO and 47.4 on LVIS, zero-shot, without human labels on target data. We haven't reproduced these results; the foundation models used human supervision. Sources and footage: Sekai (arXiv 2611.06685); huggingface/lerobot and allenai/toyblocks (Apache-2.0); hanyucc/trainspotting (2611.06849); OpenBMB/MiniCPM-OCR (Apache-2.0); VLALagBench (2611.03103); Annotator-Free Object Detection (2611.06195); OpenAI and Google. Office and factory scenes are illustrations made with Gemini Omni 1.2 Flash. No endorsement implied. #ComputerVision #AINews
🤖 Made with AI
1
2
138
Pangram said "Unsure", but its heatmap found the AI half. Small demo, not a benchmark. Chess: Bubba73 (Jud McCranie), colour adj. Hohum. Cropped, Qwen-edited, composited, annotated. Video: CC BY-SA 3.0. commons.wikimedia.org/wiki/F… creativecommons.org/licenses…
1
73
Qwen Image 2.1 Turbo: move one knight. We counted three. One run per test. Chess: Bubba73 (Jud McCranie), colour adj. Hohum. Adapted, CC BY-SA 3.0 creativecommons.org/licenses… commons.wikimedia.org/wiki/F… Clock: Envato Elements. Music: CorporationMusic.
🤖 Made with AI
81
Our Claude maze agent was sending 9.8 MB per request by move 100. With the new message threads beta it sent 104 KB: one screenshot plus the last response ID. Same tokens. Threads expire after 5 idle minutes, so keep your own history. We measured request size, not speed.
2
86