Skip to content

krampus-nuggets/aimlab-opencv-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docs-icon

Aimlab - OpenCV POC

This repository serves as a Proof-of-Concept for myself on working with OpenCV in Python. Playing with color-spaces, masking, identifying, tracking, etc.

What was accomplished in this POC:

  1. A tool was created for fine tuning HSV lower & upper bound values
  2. Objects in the screen-capture scan-box were successfully identified
  3. A c-types controller was built for MnK events because DirectInput is slow and win32api does not work
  4. Basic logic was implemented for finding the center of each identified object and the clicking it

Technology used:

  1. mss - Very fast screenshot package
  2. c-types - Building MnK controller
  3. keyboard - Used for handling basic keyboard events
  4. pydirectinput - Finding cursor position values in a 3D scene of Aimlab
  5. opencv-python - Open Source Computer Vision handles the bulk of the project workload
  6. pygetwindow - Logic based on whether Aimlab window is active | Identify Aimlab window

Interesting Reads:

  1. OpenCV Find Contours - Link
  2. OpenCV inRange Thresholding - Link
  3. Aimbot Math - Link

Example

Aimlab-Gridshot-FINAL-720p.mp4

About

Aimlab - OpenCV Proof-of-Concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages