RepositoryC++
Nebula4869

Nebula4869/YOLOv5-LibTorch

Real time object detection with deployment of YOLOv5 through LibTorch C++ API

172sao
50fork
16issue
3lượt xem

🚀 YOLOv5-LibTorch: Phát hiện đối tượng thời gian thực bằng C++

Triển khai YOLOv5 qua LibTorch C++ API, chạy trực tiếp mà không cần Python.

Dự án YOLOv5-LibTorch cung cấp cách triển khai mô hình YOLOv5 bằng LibTorch (phiên bản C++ của PyTorch), sử dụng OpenCV để xử lý hình ảnh và CMake để quản lý build. Phù hợp cho triển khai trên môi trường máy chủ hoặc hệ thống nhúng không hỗ trợ Python.

✨ Điểm nổi bật

  • LibTorch C++ API: chạy mô hình YOLOv5 trực tiếp trên C++.
  • OpenCV hỗ trợ hình ảnh: tiền xử lý và hậu xử lý ảnh bằng OpenCV.
  • CMake build system: dễ dàng cấu hình và biên dịch trên Linux.
  • Môi trường ổn định: hỗ trợ Ubuntu 18.04, OpenCV 3.2.0, LibTorch 1.6.0.
  • Mô hình COCO pretrained: đã bao gồm mô hình YOLOv5s được huấn luyện sẵn trên tập COCO.

💡 Vì sao đáng chú ý

Không cần cài đặt Python hay PyTorch phiên bản Python, chỉ cần LibTorch C++ và OpenCV là có thể chạy được YOLOv5 trực tiếp trên C++. Đây là lựa chọn lý tưởng cho các hệ thống nhúng hoặc môi trường sản xuất yêu cầu hiệu năng cao và không phụ thuộc vào Python.


#YOLOv5 #LibTorch #ObjectDetection #Cplusplus #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
sherlockchou86/VideoPipe

A cross-platform video structuring (video analysis) framework based on CV models & mLLM.

3.0k
Feb 25, 2026
RepositoryC++
ncdhz/Yolo-LibTorch

一个 LibTorch 版本的 Yolo 封装库

194
May 10, 2024
RepositoryPython
ultralytics/yolov5

Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.

58.3k
Nov 23, 2026
RepositoryJupyter Notebook
roboflow/notebooks

A collection of tutorials on state-of-the-art computer vision models and techniques. Explore everything from foundational architectures like ResNet to cutting-edge models like RF-DETR, YOLO11, SAM 3, and Qwen3-VL.

9.8k
Sep 22, 2026
Modelobject-detection
facebook/detr-resnet-50

DETR (End-to-End Object Detection) model with ResNet-50 backbone DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images). It was introduced in the paper End-to-End Object Detection with Transformer...

♥0
154.5k
Apr 10, 2024
Modelobject-detection
microsoft/table-transformer-detection

Table Transformer (fine-tuned for Table Detection) Table Transformer (DETR) model trained on PubTables1M. It was introduced in the paper PubTables-1M: Towards Comprehensive Table Extraction From Unstructured Documents(https://arxiv.org/abs/2110.0006...

♥0
407.8k
Sep 6, 2023
RepositoryPython
zhiqwang/yolort

yolort is a runtime stack for yolov5 on specialized accelerators such as tensorrt, libtorch, onnxruntime, tvm and ncnn.

730
Apr 10, 2026
RepositoryC++
opencv/opencv

Open Source Computer Vision Library

91.8k
Nov 30, 2026
RepositoryC++
CMU-Perceptual-Computing-Lab/openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation

34.6k
Aug 3, 2024