Integrating HCANet's Convolution-Attention Fusion Module into YOLOv8 for Small Object Detection

The Hybrid Convolution and Attention Network (HCANet) introduced a Convolution and Attention Fusion Module (CAFM) that jointly models local features via convolutions and global context via self‑attention. This design is particular beneficial for detecting small objects, where fine spatial details and long‑range dependencies both matter. In this ...

Posted on Wed, 09 Sep 2026 16:54:23 +0000 by runestation

Training Custom Datasets with YOLOv8: A Complete Guide

Environment Setup Download Source Code Obtain the official YOLOv8 repository from the GitHub project page. Install Required Dependencies Configure PyTorch environment following standard installation procedures available online. Prepare Your Dataset This example uses a fruit detecsion dataset. The directory structure should follow this pattern: ...

Posted on Mon, 07 Sep 2026 16:33:20 +0000 by Clinger

Setting Up and Training a Custom YOLOv5 Object Detection Model

Environment Preparation Ensure the working directory path contains no Chinese characters. Clone the repository from the official GitHub source using the following command: git clone https://github.com/ultralytics/yolov5.git Open the project folder in PyCharm. Verify your CUDA version to ensure compatibility with PyTorch: nvcc -V Create a dedi ...

Posted on Wed, 02 Sep 2026 16:04:04 +0000 by JonathanS

Darknet Framework: Overview, Installation, Training, and Testing

Directory Advantages of Darknet Darknet Structure Installation Training Detection Advantages of Darknet Darknet is a deep learning framework written entirely in C, offering several unique advantages over other frameworks: Easy Installation: Simply select the desired options (CUDA, cuDNN, OpenCV, etc.) in the Makefile and run make. The instal ...

Posted on Fri, 21 Aug 2026 16:26:34 +0000 by Nikos7

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