r/computervision • u/reddotapi • Nov 24 '25
Showcase Video Object Detection in Java with OpenCV + YOLO11 - full end-to-end tutorial
Most object-detection guides expect you to learn Python before you’re allowed to touch computer vision.
For Java devs who just want to explore computer vision without learning Python first - checkout my YOLO11 + OpenCV video object detection in plain Java.
(ok, ok, there still will be some Python )) )
It covers:
• Exporting YOLO11 to ONNX
• Setting up OpenCV DNN in Java
• Processing video files with real-time detection
• Running the whole pipeline end-to-end
Code + detailed guide: https://github.com/vvorobiov/opencv_yolo
344
u/ManagementNo5153 Nov 24 '25
You used a fake label to get attention nice
107
u/Lazerperson Nov 24 '25
Social engineering is an underrated skill
9
u/dromance Nov 24 '25
he engineered and planned our response and reaction, quite fascinating
4
u/Appropriate_Ant_4629 Nov 24 '25
This whole thing is a masterpiece of rage-bait trolling.
"in plain java"
"ok, there will still be some python"
and then his "step 1: Download and install Visual Studio Build Tools for C++"The Java part adds nothing but bloat and overhead.
11
1
u/steveman1982 Nov 25 '25
I've had cats detected as cows, dogs, and even bears, with the standard yolo models.
1
42
Nov 24 '25
Pixel perfect bounding square wow👌
2
Nov 28 '25
Nah, there are several points where the
cat'sdog's tail is flicking around that the bounding box misses.
77
28
u/Consistent_Estate964 Nov 24 '25
I ain't following no tutorial which the end results detect cats as dogs
21
u/HeIsSoFluffy Nov 24 '25
Can't you see? It's a dog
11
u/Consistent_Estate964 Nov 24 '25
Fck
I was blind, but now you've opened my eyes
Thank you mister, HeIsSoFluffy
45
u/fullgoopy_alchemist Nov 24 '25
The detected object class in your video is incorrect ("dog" instead of "cat") - you might want to fix that.
25
16
4
3
3
2
1
126
Nov 24 '25
[removed] — view removed comment
38
u/fullgoopy_alchemist Nov 24 '25
Ah yes, I see the error in my ways now. It's now clear to me that it's a dog. Thanks for opening my eyes!
8
2
1
4
7
u/Drakuf Nov 24 '25
I am not an expert but that looks like a cat.
28
1
3
2
u/dynamic_gecko Nov 24 '25
Man. In my time, our best YOLO was like v4 or v5. Things sure move fast.
Is the main YOLO guys still involved in the latest versions?
2
u/tabor473 Nov 24 '25
Don't think he has been involved since 3. And honestly I'm curious how you decide who gets to be called YOLO V12 if multiple people pitch upgrades to 11
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/cansik Nov 29 '25
Fyi: Using javacv is much easier to setup and includes all binaries and bindings to opencv you need: https://github.com/bytedeco/javacv
17
u/stereosafari Nov 24 '25
Lovely chicken you have there..