Skip to content

Cross-language AI inference using YOLOv8 object detection and pose estimation models. Converted Python scripts to C++ using ONNX and OpenCV for real-time visual results.

Notifications You must be signed in to change notification settings

Aalaa4444/Human-Detection-and-Pose-Estimation-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Inference Conversion – YOLOv8 & Pose Estimation (Python ➡ C++)

This project demonstrates how to convert minimal AI inference scripts written in Python to equivalent C++ implementation using ONNX, OpenCV, and other inference engines.


🔍 Task Overview

Task 1: YOLOv8 Object Detection

  • Original Language: Python
  • Converted To: C++
  • Model Used: YOLOv8n
  • Inference Framework: ONNX Runtime / OpenCV DNN
  • Input: person.jpg
  • Output: Detected bounding boxes overlaid on image

Task 2: Human Pose Estimation

  • Original Language: Python (Hugging Face model: microsoft/posex)
  • Converted To: C++
  • Note: Due to unavailability of a working ONNX version of microsoft/posex, a COCO-based OpenPose alternative was used.
  • Inference Framework: OpenCV / ONNX
  • Input: person.jpg
  • Output: Human keypoints (poses) visualized

Requirements

  • C++ Compiler (e.g., g++)
  • OpenCV with DNN module
  • ONNX Runtime (depending on code path)

About

Cross-language AI inference using YOLOv8 object detection and pose estimation models. Converted Python scripts to C++ using ONNX and OpenCV for real-time visual results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages