Python Computer Vision Aim Bot for Roblox's Phantom Forces

Overview

Python-Phantom-Forces-Aim-Bot

Python Computer Vision Aim Bot for Roblox's Phantom Forces

! ! ! USE AT YOUR OWN RISK ! ! ! I will not be at fault if your account is banned

Should be somewhat undetectable by anti-cheat, others players are the problem

Read comments at top of script

Edit for your monitor and then run the python file. I use VSCode to edit and run with debug.

Requires installation of Python 3 and some libraries:

  • win32gui
  • win32ui
  • win32con
  • win32api
  • numpy
  • cv2 (openCV)
  • time
  • math
  • keyboard
      • Will NOT Be Making It An EXE File Due To Safety * * *

Tested on a Desktop:

  • Nvidia 3080 10g GPU
  • Ryzen 5 5600x CPU
  • 32gb 3600mhz c18 RAM
  • 1440p Monitor

On those tested specs, The bot was able to manage 60+ FPS (take image, find target, and move mouse all in 1/60th of a second), sometimes going over 150+ FPS.

How it works (KEEPS LOOPING FOLLOWING STEPS):

  1. Take screenshot of specific area on your screen where center is crosshair, and only capture the amount it needs (Not the whole screen, about 1/4th)
  2. Mask the image to search for the specific colors of the in-game Ballistic Tracker attachment (yellow)
  3. Find contours of the masked image (find where the image goes through drastic change in color, in this case black to white)
  4. Determine if the size of the contour's box is reasonable (box is always the same size, too small or big means its not the tracker)
  5. Get the center of the contour's box from the x, y, width, and height
  6. Find distance between the center and your crosshair (center of screen, but implement tracking for recoil)
  7. Take that distance and multiply it by a scale value (one pixel moved of your mouse does not equal one pixel moved in game (2D plane does not have the same distance as a 3D space/ center of sphere to edge of sphere)
  8. Move mouse by that value (Won't immediatly get to it, requires more math to determine exact amount. Also may look too suspicious)
  9. {OPTIONALLY} Fire mouse when aiming at target (within a certain distance to center)

Requires Ballistic Tracker attachment Works best with low recoil, high firerate weapons (Such as L22 and Honey Badger), but can also work with Sniper Rifles (May need a little more fine tuning for One-Shot long range)

If you don't use a 1440p monitor, you will HAVE to change 2 values in the script (at top surrounded by hashtags that reads: Monitor_Size = [2560, 1440]), you also may gain more performance.

List of values for different monitor sizes: 720p - [1280, 720] 1080p - [1920, 1080] 1440p - [2560, 1440] 4k - [3840, 2160] 1080p ultrawide - [2560 or 3840, 1080] 1440p ultrawide - [3440, 1440]

May be updated here-and-there when I decided to come back and work on it some more to optimize performance and accuracy

Owner
drag0ngam3s
15yo, Practicing Python, C++, and C#. Playing around in Unity and Unreal Engine. Studying Cybersecurity at school.
drag0ngam3s
Zoom , GoogleMeets에서 Vtuber 데뷔하기

EasyVtuber Facial landmark와 GAN을 이용한 Character Face Generation Google Meets, Zoom 등에서 자신만의 웹툰, 만화 캐릭터로 대화해보세요! 악세사리는 어느정도 추가해도 잘 작동해요! 안타깝게도 RTX 2070

Gunwoo Han 140 Dec 23, 2022
color detection using python

colordetection color detection using python In this color detection Python project, we are going to build an application through which you can automat

Ruchith Kumar 1 Nov 04, 2021
Code for the paper: Fusformer: A Transformer-based Fusion Approach for Hyperspectral Image Super-resolution

Fusformer Code for the paper: "Fusformer: A Transformer-based Fusion Approach for Hyperspectral Image Super-resolution" Plateform Python 3.8.5 + Pytor

Jin-Fan Hu (胡锦帆) 11 Dec 12, 2022
Dirty, ugly, and hopefully useful OCR of Facebook Papers docs released by Gizmodo

Quick and Dirty OCR of Facebook Papers Gizmodo has been working through the Facebook Papers and releasing the docs that they process and review. As lu

Bill Fitzgerald 2 Oct 28, 2021
This is a GUI program which consist of 4 OpenCV projects

Tkinter-OpenCV Project Using Tkinter, Opencv, Mediapipe This is a python GUI program using Tkinter which consist of 4 OpenCV projects 1. Finger Counte

Arya Bagde 3 Feb 22, 2022
A tool combining EasyOCR and LaMa to automatically detect text and replace it with an inpainted background.

EasyLaMa (WIP) This is a tool combining EasyOCR and LaMa to automatically detect text and replace it with an inpainted background. Installation For GP

3 Sep 17, 2022
https://arxiv.org/abs/1904.01941

Character-Region-Awareness-for-Text-Detection- https://arxiv.org/abs/1904.01941 Train You can train SynthText data use python source/train_SynthText.p

DayDayUp 120 Dec 28, 2022
TextBoxes++: A Single-Shot Oriented Scene Text Detector

TextBoxes++: A Single-Shot Oriented Scene Text Detector Introduction This is an application for scene text detection (TextBoxes++) and recognition (CR

Minghui Liao 930 Jan 04, 2023
An Implementation of the seglink alogrithm in paper Detecting Oriented Text in Natural Images by Linking Segments

Tips: A more recent scene text detection algorithm: PixelLink, has been implemented here: https://github.com/ZJULearning/pixel_link Contents: Introduc

dengdan 484 Dec 07, 2022
Shape Detection - It's a shape detection project with OpenCV and Python.

Shape Detection It's a shape detection project with OpenCV and Python. Setup pip install opencv-python for doing AI things. pip install simpleaudio fo

1 Nov 26, 2022
Pure Javascript OCR for more than 100 Languages 📖🎉🖥

Version 2 is now available and under development in the master branch, read a story about v2: Why I refactor tesseract.js v2? Check the support/1.x br

Project Naptha 29.2k Jan 05, 2023
Tesseract Open Source OCR Engine (main repository)

Tesseract OCR About This package contains an OCR engine - libtesseract and a command line program - tesseract. Tesseract 4 adds a new neural net (LSTM

48.4k Jan 09, 2023
Localization of thoracic abnormalities model based on VinBigData (top 1%)

Repository contains the code for 2nd place solution of VinBigData Chest X-ray Abnormalities Detection competition. The goal of competition was to auto

33 May 24, 2022
A tool for extracting text from scanned documents (via OCR), with user-defined post-processing.

The project is based on older versions of tesseract and other tools, and is now superseded by another project which allows for more granular control o

Maxim 32 Jul 24, 2022
Code for the ACL2021 paper "Combining Static Word Embedding and Contextual Representations for Bilingual Lexicon Induction"

CSCBLI Code for our ACL Findings 2021 paper, "Combining Static Word Embedding and Contextual Representations for Bilingual Lexicon Induction". Require

Jinpeng Zhang 12 Oct 08, 2022
This repository lets you train neural networks models for performing end-to-end full-page handwriting recognition using the Apache MXNet deep learning frameworks on the IAM Dataset.

Handwritten Text Recognition (OCR) with MXNet Gluon These notebooks have been created by Jonathan Chung, as part of his internship as Applied Scientis

Amazon Web Services - Labs 422 Jan 03, 2023
Geometric Augmentation for Text Image

Text Image Augmentation A general geometric augmentation tool for text images in the CVPR 2020 paper "Learn to Augment: Joint Data Augmentation and Ne

Canjie Luo 440 Jan 05, 2023
2 telegram-bots: for image recognition and for text generation

💻 📱 Telegram_Bots 🔎 & 📖 2 telegram-bots: for image recognition and for text generation. About Image recognition bot: User sends a photo and bot de

Marina Polukoshko 1 Jan 27, 2022
Toolbox for OCR post-correction

Ochre Ochre is a toolbox for OCR post-correction. Please note that this software is experimental and very much a work in progress! Overview of OCR pos

National Library of the Netherlands / Research 117 Nov 10, 2022