Skip to content

ChetoAI: Building an intelligent aiming system using C++ and computer vision. This project focuses on using OpenCV and ONNX to accurately identify and track targets for automated assistance.

Notifications You must be signed in to change notification settings

KOJORICH01/ChetoAI-8-ball-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 

Repository files navigation

05347534753472432

Download

ChetoAI - Level 1 (Extended Guidelines for 8 Ball Pool)

ChetoAI is a C++ educational project that replicates Cheto Aim Tool features for the mobile game 8 Ball Pool, beginning with Level 1: Extended Guidelines using object detection and physics simulation.

๐ŸŽฏ Project Goal

To build an overlay-based assistance tool using:

  • YOLOv11m-seg ONNX model for real-time object detection
  • DirectX 11 overlay for visual feedback
  • OpenCV for image processing
  • ONNX Runtime for inference
  • Custom physics module to draw accurate guidelines

โœ… Current Status (Level 1)

The following are implemented:

  • Capture the game window in real time
  • Run ONNX inference on captured frames to detect:
    • Balls, Guidelines, Holes, Play Area, Force, Spin
  • Compute the projected path of the cue ball
  • Render extended guideline overlay directly on the game

๐Ÿงฐ Prerequisites

  1. Windows 10/11 x64
  2. Visual Studio 2022 with C++ Desktop Development workload
  3. DirectX SDK (June 2010) (for legacy headers if needed)
  4. ONNX Runtime 1.21.0 (Download)
  5. OpenCV 4.x (Download)
  6. Clone or download YOLOv11m-seg model (already placed in onnx_model/)

โ–ถ๏ธ How to Run

  1. Launch 8 Ball Pool, window name that is opening the game should have name 8 Ball Pool or you can change this in main.cpp, Line 70.
  2. Run update.exe it does automatically updates to current game-patch Have Fun!.
  3. The overlay should appear on top of the game window.
  4. Move the cue โ€“ the extended guideline should reflect predicted paths based on current layout.

โš ๏ธ Ensure the game window is in the foreground.


๐Ÿงช Features (Level 1)

  • Object Detection using ONNX
  • Real-time Overlay using DirectX 11
  • Cue Ball Path Prediction
  • Hole Proximity Detection

๐Ÿ“… Planned Features (Next Levels)

๐Ÿ”น Level 2 โ€“ Advanced Cushion Shots

  • Add ricochet prediction for 1-cushion bank shots
  • Predict ball-to-ball deflections

๐Ÿ”น Level 3 โ€“ Full Cheto Clone

  • Add spin and force estimation
  • Predict multi-collision outcomes
  • UI element detection and angle helper

๐Ÿง  Tech Stack

  • Language: C++17
  • Rendering: DirectX 11
  • Machine Learning: ONNX Runtime + YOLOv11m-seg
  • Computer Vision: OpenCV
  • Window Management: WinAPI + pygetwindow logic port

๐Ÿค Credits

  • YOLOv11m-seg trained via Roboflow
  • ONNX Runtime maintained by Microsoft
  • Original concept inspired by Cheto Aim tool (reverse-engineered for education)

๐Ÿ“ Disclaimer

This project is for educational purposes only. Using overlays or auto-aim tools in online games may violate the gameโ€™s terms of service and could lead to account bans. The developer does not endorse cheating in any form.


๐Ÿ“NOTE

  • This project is still under prototyping stage, and i donot have coding knowledge all this is made using chatgpt it may not be fully optimizedsorry about that feel free to make any changes and all the help to make this possible is appriciated.

About

ChetoAI: Building an intelligent aiming system using C++ and computer vision. This project focuses on using OpenCV and ONNX to accurately identify and track targets for automated assistance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published