Custom YOLOv5 Model Deployment on ELF2 Development Board
Prepraing Custom Dataset
Organize VOC-format dataset with this directory structure:
VOC_CUSTOM/
├── Annotations/
├── ImageSets/
│ └── Main/
└── JPEGImages/
Execute dataset splitting script:
# dataset_split.py
import os
import random
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--xml_path', default='Annotations/', ...
Posted on Fri, 31 Jul 2026 16:42:10 +0000 by richardjh
Running YOLOv5s Model on AX650 Development Board
Enviroment Setup
For boards without network connectivity, configure the network connection first.
apt update
apt install build-essential libopencv-dev cmake
apt install wget git vim
apt install python3-pip
cd /root
python3 -m venv ort
source /root/ort/bin/activate
After enstalling these packages, the board will have the necessary build environ ...
Posted on Tue, 21 Jul 2026 17:17:09 +0000 by Tanus
YOLOv9: A Comprehensive Guide to Setup, Training, and Inference
YOLOv9 represents a significant advancement in real-time object detection, distinguished by its innovative use of a purely convolutional architecture. Unlike many contemporary models that integrate Transformer layers, YOLOv9 achieves state-of-the-art performance, reportedly surpassing models like RT-DETR and even YOLOv8 across various benchmark ...
Posted on Sun, 05 Jul 2026 17:20:05 +0000 by mustng66
Implementing YOLOv9 Object Detection with TensorRT in C++
Implementing YOLOv9 Object Detection with TensorRT in C++
Deploying YOLOv9 with TensorRT for object detection requires a systematic approach covering environment preparation, model transformation, code implementation, and inference execution.
Begin by verifying that your development environment includes NVIDIA TensorRT. This SDK specializes i ...
Posted on Thu, 25 Jun 2026 16:09:04 +0000 by greenday
Visual Annotation Toolkit for Ultralytics YOLO
Overview
The Ultralytcis ecosystem ships with a lightweight Annotator utility that can overlay detection masks, bounding boxes, oriented boxes, and keypoints on any image or video stream. The snippets below demonstrate typical use-cases.
Interactive sweep counter on a video
The following example tracks every object that crosses a user-draggable ...
Posted on Wed, 24 Jun 2026 16:42:36 +0000 by neex1233
Computer Vision Bounding Box Operations
When resizing images in computer vision applications, bounding box coordinates must be scaled proportionally to maintain accurate object detection.
import cv2
import numpy as np
from ultralytics.utils.ops import scale_boxes
# Load the original image
original_image = cv2.imread("sample_images/vehicle.jpg")
original_height, original_w ...
Posted on Fri, 12 Jun 2026 16:37:48 +0000 by chancho
Various Attention Mechanisms for YOLO Series: SE, A2-Nets, BAM, and BiFormer
Attention mechanisms have significantly improved the performance of deep learning models in computer vision tasks. This article provides an overview of several popular attention modules that can be easily integrated into object detection models like YOLOv5, YOLOv7, YOLOv8, YOLOv9, and YOLOv10.
SE
Paper: Squeeze-and-Excitation Networks
Link: arX ...
Posted on Fri, 22 May 2026 19:06:16 +0000 by sheephat
Flask-Based Web Interface for YOLOv5 Object Detection on Images and Videos
This guide demonstrates how to wrap the YOLOv5 model in a lightweight Flask service that lets users upload an image or a short video, view the detections in the browser, and download the annotated result.
What the service provides
Drag-and-drop or click-to-upload for images and MP4 videos.
Real-time preview of the original and processed media. ...
Posted on Fri, 15 May 2026 15:14:41 +0000 by DeltaRho2K
Architectural Breakdown and Operational Workflow of YOLOv5
Model Parameter Profiling
Utility functions in torch_utils facilitate the analysis of model complexity, including layer counts, parameter volumes, and computational load (FLOPs). The following snippet demonstrates how to aggregate parameter statistics and estimate floating-point operations using a dummy input tensor aligned with the model's str ...
Posted on Mon, 11 May 2026 10:06:51 +0000 by smith.james0