yolov5 VS OpenCV

Compare yolov5 vs OpenCV and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
yolov5 OpenCV
128 195
46,026 74,827
2.8% 1.5%
8.9 9.9
7 days ago 7 days ago
Python C++
GNU Affero General Public License v3.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

yolov5

Posts with mentions or reviews of yolov5. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-12.
  • Changing labels of default YOLOv5 model
    2 projects | /r/learnmachinelearning | 12 Jul 2023
    I am using the default YOLOv5m6 model here with sahi/yolov5 library for my object detection project. I want to change just some of labels - for example when YOLO detects a human, I want it to label the human as "threat", not "person". Is there any way I can do it just changing some code, or I should train the model from scratch by just changing labels?
  • SS: Events triggered no matter the detection zone specified
    2 projects | /r/synology | 3 May 2023
    What I did is hand off my detections to an Nvidia GPU running Yolov5 https://github.com/ultralytics/yolov5 which does the triggering if it's an object class I'm interested in. Since Synology is always caching at least 5 seconds of camera video the 50-100mS delay of grabbing a frame and analyzing before triggering recording is fine. Wish they'd implement something like this.
  • AMD ROCm 5.5 In The Process Of Being Released
    4 projects | /r/Amd | 2 May 2023
    this is about all I could find, maybe you've been getting different degrees of optimized python libs that do the image resizes. https://github.com/ultralytics/yolov5/issues/11469
  • good computer vision or deep learning projects in github
    9 projects | /r/deeplearning | 22 Apr 2023
    YOLOv5 (GitHub: https://github.com/ultralytics/yolov5) is a fast, accurate object detection model with code for training, testing, deployment, and pre-trained weights.
  • [D] Extracting the class labels and bounding boxes for objects, from a YOLO7 model after converting to an ONNX model
    4 projects | /r/MachineLearning | 18 Apr 2023
    Those dimensions suggest you need to apply (i.e. roll your own) non-max suppresion to the outputs: relevant link
  • Thought Dump About Recent AI Advancements And Palantir
    2 projects | /r/PLTR | 29 Mar 2023
    - YOLOv5 https://github.com/ultralytics/yolov5 (open source, so not Palantir's)
  • How to build computer vision dataset labeling team in-house
    4 projects | dev.to | 28 Mar 2023
    A team of annotators and the infrastructure described in this article I needed to label my dataset, which was collected from cameras on the road (30k+ photos). This dataset was necessary to train an object detection model on six classes: [person, car, bus, bicycle, motorcycle, truck]. I released the dataset, created in this manner, as open source, and it can be downloaded here (link) together with trained YOLOv5s and YOLOv5x models from a popular repository (link) using this dataset. The license is simple: "Use it well"!
  • Flutter Object Detection App + YOLOV5 Model.
    3 projects | dev.to | 15 Feb 2023
    Before you can use YOLOv5 in your Flutter application, you'll need to train the model on your specific dataset. You can use an existing dataset or create your own dataset to train the model. For this post I am using the pretrained model of yolov5 available on https://github.com/ultralytics/yolov5 as we are performing object detection we need to converts the pretrained model weights to torchscript format.
  • NotImplementedError (YOLOv5)
    3 projects | /r/pytorch | 12 Feb 2023
    Thank you Link to the codefor taking the time to reply. I have modified the code as you suggested. And now I see the GPU being utilized. But the precision, recall, mAP is all zero. At least it displays as zero.
  • NVIDIA Jetson AGX Orin is now compatible with balena
    4 projects | dev.to | 9 Feb 2023
    Read more here about how Theia Scientific is currently using the newest NVIDIA Jetson AGX Orin on their fleet of microscopes. Theia Scientific and Volkov Labs, improved the Jetson AGX Orin inference speeds up to 30FPS. The Jetson AGX Orin running YOLOv5 tripled the Frames-per-Second (FPS) compared with the latest Jetson AGX Xavier.

OpenCV

Posts with mentions or reviews of OpenCV. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-13.
  • Exploring Open-Source Alternatives to Landing AI for Robust MLOps
    18 projects | dev.to | 13 Dec 2023
    Data analysis involves scrutinizing datasets for class imbalances or protected features and understanding their correlations and representations. A classical tool like pandas would be my obvious choice for most of the analysis, and I would use OpenCV or Scikit-Image for image-related tasks.
  • Image segmentation in huggingface
    2 projects | /r/computervision | 6 Dec 2023
    You'll need to plot the predictions. There are a few open source tools to do that, supervision is one you can use (https://github.com/roboflow/supervision) and opencv is another common option (https://github.com/opencv/opencv)
  • NodeJS: Blurring Human Faces in Photos
    2 projects | dev.to | 26 Oct 2023
    The OpenCV4NodeJs A.I. library provides an interface for calling OpenCV routines in NodeJS.
  • NodeJS - Ofuscando rostos humanos em fotos
    2 projects | dev.to | 26 Oct 2023
  • SIMD Everywhere Optimization from ARM Neon to RISC-V Vector Extensions
    6 projects | news.ycombinator.com | 29 Sep 2023
  • VidCutter: A program for lossless video cutting
    5 projects | news.ycombinator.com | 20 Aug 2023
  • Looking to recreate a cool AI assistant project with free tools
    3 projects | /r/selfhosted | 2 Aug 2023
    - [ OpenCV](https://opencv.org/) instead of YoloV8 for computer vision and object detection
    3 projects | /r/techsupport | 2 Aug 2023
    I came across a very interesting [project]( (4) Mckay Wrigley on Twitter: "My goal is to (hopefully!) add my house to the dataset over time so that I have an indoor assistant with knowledge of my surroundings. It’s basically just a slow process of building a good enough dataset. I hacked this together for 2 reasons: 1) It was fun, and I wanted to…" / X ) made by Mckay Wrigley and I was wondering what's the easiest way to implement it using free, open-source software. Here's what he used originally, followed by some open source candidates I'm considering but would love feedback and advice before starting: Original Tools: - YoloV8 does the heavy lifting with the object detection - OpenAI Whisper handles voice - GPT-4 handles the “AI” - Google Custom Search Engine handles web browsing - MacOS/iOS handles streaming the video from my iPhone to my Mac - Python for the rest Open Source Alternatives: - [ OpenCV](https://opencv.org/) instead of YoloV8 for computer vision and object detection - Replacing GPT-4 is still a challenge as I know there are some good open-source LLms like Llama 2, but I don't know how to apply this in the code perhaps in the form of api - [DeepSpeech](https://github.com/mozilla/DeepSpeech) rather than Whisper for offline speech-to-text - [Coqui TTS](https://github.com/coqui-ai/TTS) instead of Whisper for text-to-speech - Browser automation with [Selenium](https://www.selenium.dev/) instead of Google Custom Search - Stream video from phone via RTSP instead of iOS integration - Python for rest of code I'm new to working with tools like OpenCV, DeepSpeech, etc so would love any advice on the best way to replicate the original project in an open source way before I dive in. Are there any good guides or better resources out there? What are some pitfalls to avoid? Any help is much appreciated!
  • [Question] I'd like to find out about how the x, y, w, h values retrieved by detectMultiScale() (for the rectangle boundary during face detection) and how it is calculated in the Haar Cascade OpenCV library. Does anyone know where I can find the code?
    2 projects | /r/computervision | 10 Jul 2023
    Glancing at the code, I think it's detectMultiScaleNoGrouping and then the operator() of CascadeClassifierInvoker gets called. It will probably help you to put a breakpoint and step through that bit of the code.
    2 projects | /r/computervision | 10 Jul 2023
    On GitHub https://github.com/opencv/opencv

What are some alternatives?

When comparing yolov5 and OpenCV you can also consider the following projects:

detectron2 - Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.

mmdetection - OpenMMLab Detection Toolbox and Benchmark

darknet - YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )

libvips - A fast image processing library with low memory needs.

Deep-SORT-YOLOv4 - People detection and optional tracking with Tensorflow backend.

yolor - implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)

VTK - Mirror of Visualization Toolkit repository

CImg - The CImg Library is a small and open-source C++ toolkit for image processing

yolov5-crowdhuman - Head and Person detection using yolov5. Detection from crowd.

EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

CenterNet - Object detection, 3D detection, and pose estimation using center point detection:

yolov3 - YOLOv3 in PyTorch > ONNX > CoreML > TFLite