rootkit-org / ai-aimbot Goto Github PK
View Code? Open in Web Editor NEWWorld's Best AI Aimbot - CS2, Valorant, Fortnite, APEX, every game
License: GNU General Public License v3.0
World's Best AI Aimbot - CS2, Valorant, Fortnite, APEX, every game
License: GNU General Public License v3.0
Hello, thank you for the great contribution!
I am here to ask about my issue about it. I have successfully ran the code but unfortunately, when checking my live feed, It doesn't detect any enemies (APEX LEGENDS)
I hope that anyone can help me out. Thank you!
no automatic tracking in the game, the mouse cannot move automatically
Can someone more practical than me implement this in code it would help to keep a larger detection window by choosing only targets that pass around the value of a
import pyautogui
import time
pos = pyautogui.position()#pos mouse now
centro=(960,540)#center screen resolution
a=100,100 #distance activation
distanzax= -(centro[0]-pos[0]) if pos[0] < centro[0] else pos[0]-centro[0]
distanzay= -(centro[1]-pos[1]) if pos[1] < centro[1] else pos[1]-centro[1]
print (distanzax,distanzay)
x= distanzax if 0<distanzax else distanzax-distanzax-distanzax
print(x)
y= distanzay if 0<distanzay else distanzay-distanzay-distanzay
print(y)
logic=(x,y)
print (logic)
if logic<a:
pyautogui.moveTo (960,540)#change to target
how do i make the aim work only when pressing the left mouse button ? I managed to put it on the left button but it is deactivating and activating, I would like it to work only when I press
How to convert .pt file to .engine format?Can you share the relevant code?
Hi, I'm trying using this code for running on Apex Game for testing and educational purpose, but seem like it doesn't work on that game, what issue can be cause by this situation?
is that the Yolo model did not train on detect the person inside the Apex game?
Do you have any plans to implement a yolov8 TensorRT version for this project?
C:\Users\Hirad\Desktop\unfx-proxy-checker-master\AI-Aimbot-main>python main.py
Traceback (most recent call last):
File "C:\Users\Hirad\Desktop\unfx-proxy-checker-master\AI-Aimbot-main\main.py", line 211, in
main()
File "C:\Users\Hirad\Desktop\unfx-proxy-checker-master\AI-Aimbot-main\main.py", line 75, in main
camera = dxcam.create(region=region)
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init_.py", line 112, in create
return _factory.create(
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init.py", line 71, in create
camera = DXCamera(
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 46, in init
self._validate_region(self.region)
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 233, in _validate_region
raise ValueError(
ValueError: Invalid Region: Region should be in 1920x1080
Exception ignored in: <function DXCamera.del at 0x000002A71F999BD0>
Traceback (most recent call last):
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 243, in del
self.release()
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 238, in release
self.stop()
File "C:\Users\Hirad\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 138, in stop
if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'
My simple fix was to round the desired screenShotWidth and screenShotHeight to numbers that are evenly divisible by 32.
It opens, shows the cps and even opens tha ai window but the aim assist doesnt work(i pressed caps lock)
Is there anything I can try?
Please read the below message and think about how it could be solved before posting it on discord.
Traceback (most recent call last):
File "C:\Users\aib\Downloads\AI-Aimbot-main\main.py", line 223, in
main()
File "C:\Users\aib\Downloads\AI-Aimbot-main\main.py", line 80, in main
camera = dxcam.create(region=region)
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam_init_.py", line 112, in create
return _factory.create(
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam_init.py", line 71, in create
camera = DXCamera(
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam\dxcam.py", line 46, in init
self._validate_region(self.region)
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam\dxcam.py", line 233, in _validate_region
raise ValueError(
ValueError: Invalid Region: Region should be in 1920x1080
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\aib\Downloads\AI-Aimbot-main\main.py", line 227, in
traceback.print_exception(e)
TypeError: print_exception() missing 2 required positional arguments: 'value' and 'tb'
Exception ignored in: <function DXCamera.del at 0x000001CBE5959310>
Traceback (most recent call last):
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam\dxcam.py", line 243, in del
self.release()
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam\dxcam.py", line 238, in release
self.stop()
File "C:\Users\aib\AppData\Local\Programs\Python\Python39\lib\site-packages\dxcam\dxcam.py", line 138, in stop
if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'
My graphic card was a RTX3080 and all the environment that the aimbot needs was completely installed,but I can only get the CPS under 30,can I get some solutions?
I put the contents of the console below.
(base) C:\Users\AnnSir\AI-Aimbot>python main.py
Downloading: "https://github.com/ultralytics/yolov5/zipball/master" to C:\Users\AnnSir/.cache\torch\hub\master.zip
YOLOv5 2022-7-25 Python-3.9.7 torch-1.12.0 CUDA:0 (NVIDIA GeForce RTX 3080, 10240MiB)
Fusing layers...
YOLOv5s summary: 213 layers, 7225885 parameters, 0 gradients
Adding AutoShape...
CPS: 1
CPS: 22
CPS: 21
CPS: 23
CPS: 30
CPS: 28
when i turn it on the mouse goes to the corner of the screen and gets stuck there
every thing on cmd is fine .. but ingame it doesn't work ..
Can I train on my own data and if so what should I do
First of all, thank you very much for updating this project.
The performance improvement this time is extremely obvious.
However, there are still some problems in the process of using and debugging.
For example, when there are two people in the picture, the collimator will constantly swing between the first person and the second person.
In order to avoid this, a judgment should be added: always take the one with the largest box_size in the picture as the target.
Traceback (most recent call last):
File "main.py", line 201, in
main()
File "main.py", line 72, in main
camera = dxcam.create(region=region)
File "F:\conda\envs\yolo2\lib\site-packages\dxcam_init_.py", line 110, in create
return _factory.create(
File "F:\conda\envs\yolo2\lib\site-packages\dxcam_init.py", line 70, in create
camera = DXCamera(
File "F:\conda\envs\yolo2\lib\site-packages\dxcam\dxcam.py", line 33, in init
self._duplicator: Duplicator = Duplicator(
File "", line 6, in init
File "F:\conda\envs\yolo2\lib\site-packages\dxcam\core\duplicator.py", line 19, in post_init
output.output.DuplicateOutput(device.device, ctypes.byref(self.duplicator))
_ctypes.COMError: (-2005270524, '指定的设备接口或功能级别在此系统上不受支持。', (None, None, None, 0, None))
Exception ignored in: <function DXCamera.del at 0x000001EA142683A0>
Traceback (most recent call last):
File "F:\conda\envs\yolo2\lib\site-packages\dxcam\dxcam.py", line 243, in del
self.release()
File "F:\conda\envs\yolo2\lib\site-packages\dxcam\dxcam.py", line 238, in release
self.stop()
File "F:\conda\envs\yolo2\lib\site-packages\dxcam\dxcam.py", line 138, in stop
if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'
I'm a novice from China, just started learning this project, requesting detailed pointers
Thank you very much
is it possible to make triggerbot ?
Only getting like 6 CPS when running on CPU
Only tracking Valorant right now
I'm seeing some people saying ''why doesn't it work for valorant ?'', the answer is simple, you need arduino + usb host shield for mouse inputs, I managed to find a person who did this for me, take a look at the video below the value was not too expensive and he managed to make this project work for valorant for me!
Loading yolov5s320Half.engine for TensorRT inference...
[08/09/2022-18:25:17] [TRT] [I] [MemUsageChange] Init CUDA: CPU +292, GPU +0, now: CPU 7334, GPU 990 (MiB)
[08/09/2022-18:25:17] [TRT] [I] Loaded engine size: 31 MiB
[08/09/2022-18:25:17] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +30, now: CPU 0, GPU 30 (MiB)
[08/09/2022-18:25:17] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +8, now: CPU 0, GPU 38 (MiB)
Traceback (most recent call last):
File "D:\Game\Ai-Aimbot-yolov5\main_tensorrt_gpu.py", line 187, in
main()
File "D:\Game\Ai-Aimbot-yolov5\main_tensorrt_gpu.py", line 162, in main
cv2.rectangle(npImg, (startX, startY), (endX, endY),
cv2.error: OpenCV(4.6.0) 👎 error: (-5:Bad argument) in function 'rectangle'
Overload resolution failed:
- img is not a numpy array, neither a scalar
- Expected Ptrcv::UMat for argument 'img'
- img is not a numpy array, neither a scalar
- Expected Ptrcv::UMat for argument 'img'
It detects the "humans" (for example in valorant for 50%) but it doesnt move the mouse to the target.
I has only worked on my computer screen, not in games. so when im on google for example it moves to the left upper corner and does nothing else
specs:
3050 8gb single fan
intel i5-10400f
16gb of ram (plus some with page file)
2560x1440 screen
Hi! The dxcam capture speed is unstable, between 0-10ms.The results are as follows. Why? Is it a bug?
1.1258000000000656
7.967900000000139
2.7013000000000176
2.367800000000031
3.877499999999756
0.017199999999828464
5.908699999999989
1.8077000000000787
1.7446000000003181
6.1069999999996405
1.5810000000002766
0.030100000000032878
1.7834999999997159
1.8221000000000487
0.040300000000215164
7.366799999999785
2.05870000000008
3.1911999999998386
https://discord.gg/5QyPnst6Vm
dm the admin if you need to but if you are enquiring about the free trials please include ur gpu model for faster responses
I am receiving this issue whenever i try to start any game
AMD Ryzen.
In CMD:
C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1>py main.py
Downloading: "https://github.com/ultralytics/yolov5/archive/master.zip" to C:\Users\MelvinSGjr/.cache\torch\hub\master.zip
YOLOv5 2022-9-26 Python-3.10.7 torch-1.11.0+cu113 CPU
Fusing layers...
YOLOv5s summary: 213 layers, 7225885 parameters, 0 gradients
Adding AutoShape...
Traceback (most recent call last):
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 211, in
main()
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 105, in main
im = torch.from_numpy(npImg).to('cuda')
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\cuda_init_.py", line 216, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1>pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple dxcam
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Requirement already satisfied: dxcam in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (0.0.5)
Requirement already satisfied: numpy in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from dxcam) (1.23.3)
Requirement already satisfied: comtypes in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from dxcam) (1.1.14)
Requirement already satisfied: opencv-python in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from dxcam) (4.6.0.66)
C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1>pip install -r requirements.txt
Requirement already satisfied: PyAutoGUI in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (0.9.53)
Requirement already satisfied: PyDirectInput in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 2)) (1.0.4)
Requirement already satisfied: Pillow in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 3)) (9.2.0)
Requirement already satisfied: opencv-python in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (4.6.0.66)
Requirement already satisfied: mss in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 5)) (6.1.0)
Requirement already satisfied: numpy in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 6)) (1.23.3)
Requirement already satisfied: pandas in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 7)) (1.5.0)
Requirement already satisfied: pywin32 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 8)) (304)
Requirement already satisfied: pyyaml in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 9)) (6.0)
Requirement already satisfied: tqdm in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 10)) (4.64.1)
Requirement already satisfied: matplotlib in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 11)) (3.6.0)
Requirement already satisfied: seaborn in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 12)) (0.12.0)
Requirement already satisfied: requests in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 13)) (2.28.1)
Requirement already satisfied: pymsgbox in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from PyAutoGUI->-r requirements.txt (line 1)) (1.0.9)
Requirement already satisfied: PyTweening>=1.0.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from PyAutoGUI->-r requirements.txt (line 1)) (1.0.4)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from PyAutoGUI->-r requirements.txt (line 1)) (0.1.28)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from PyAutoGUI->-r requirements.txt (line 1)) (0.0.9)
Requirement already satisfied: mouseinfo in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from PyAutoGUI->-r requirements.txt (line 1)) (0.1.3)
Requirement already satisfied: pytz>=2020.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from pandas->-r requirements.txt (line 7)) (2022.2.1)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from pandas->-r requirements.txt (line 7)) (2.8.2)
Requirement already satisfied: colorama in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from tqdm->-r requirements.txt (line 10)) (0.4.5)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (4.37.3)
Requirement already satisfied: cycler>=0.10 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (0.11.0)
Requirement already satisfied: packaging>=20.0 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (21.3)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (1.0.5)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (1.4.4)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->-r requirements.txt (line 11)) (3.0.9)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 13)) (2022.9.14)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 13)) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 13)) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from requests->-r requirements.txt (line 13)) (1.26.12)
Requirement already satisfied: pyrect in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from pygetwindow>=0.0.5->PyAutoGUI->-r requirements.txt (line 1)) (0.2.0)
Requirement already satisfied: six>=1.5 in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.8.1->pandas->-r requirements.txt (line 7)) (1.16.0)
Requirement already satisfied: pyperclip in c:\users\melvinsgjr\appdata\local\programs\python\python310\lib\site-packages (from mouseinfo->PyAutoGUI->-r requirements.txt (line 1)) (1.8.2)
C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1>py main.py
Traceback (most recent call last):
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 211, in
main()
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 75, in main
camera = dxcam.create(region=region)
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init_.py", line 112, in create
return _factory.create(
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init.py", line 71, in create
camera = DXCamera(
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 46, in init
self._validate_region(self.region)
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 233, in _validate_region
raise ValueError(
ValueError: Invalid Region: Region should be in 1920x1080
Exception ignored in: <function DXCamera.del at 0x000002B026D0E710>
Traceback (most recent call last):
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 243, in del
self.release()
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 238, in release
self.stop()
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 138, in stop
if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'
C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1>py main.py
Traceback (most recent call last):
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 211, in
main()
File "C:\Users\MelvinSGjr\Desktop\AI-Aimbot-2.2.1\main.py", line 75, in main
camera = dxcam.create(region=region)
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init_.py", line 112, in create
return _factory.create(
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam_init.py", line 71, in create
camera = DXCamera(
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 46, in init
self._validate_region(self.region)
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 233, in _validate_region
raise ValueError(
ValueError: Invalid Region: Region should be in 1920x1080
Exception ignored in: <function DXCamera.del at 0x000002360E86E710>
Traceback (most recent call last):
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 243, in del
self.release()
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 238, in release
self.stop()
File "C:\Users\MelvinSGjr\AppData\Local\Programs\Python\Python310\lib\site-packages\dxcam\dxcam.py", line 138, in stop
if self.is_capturing:
AttributeError: 'DXCamera' object has no attribute 'is_capturing'
I get this error when i run this command:
python .\export.py --weights ./yolov5s.pt --include onnx --half --imgsz 320 320 --device 0
Invalid CUDA '--device 0' requested, use '--device cpu' or pass valid CUDA device(s)
The weird thing is, it worked fine before and since yesterday i have this issue every time i try to run the torch gpu version:
Traceback (most recent call last):
File "D:\Projects\Python\AI-Aimbot-main\main_torch_gpu.py", line 217, in <module>
main()
File "D:\Projects\Python\AI-Aimbot-main\main_torch_gpu.py", line 95, in main
model = torch.hub.load('ultralytics/yolov5', 'yolov5s',
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\hub.py", line 542, in load
model = _load_local(repo_or_dir, model, *args, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\hub.py", line 572, in _load_local
model = entry(*args, **kwargs)
File "C:\Users\Administrator/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 93, in yolov5s
return _create('yolov5s', pretrained, channels, classes, autoshape, _verbose, device)
File "C:\Users\Administrator/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 33, in _create
from models.common import AutoShape, DetectMultiBackend
File "C:\UsersAdministrator/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 29, in <module>
from utils.general import (LOGGER, ROOT, Profile, check_requirements, check_suffix, check_version, colorstr,
ImportError: cannot import name 'is_jupyter' from 'utils.general' (D:\Projects\Python\AI-Aimbot-main\utils\general.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Projects\Python\AI-Aimbot-main\main_torch_gpu.py", line 221, in <module>
traceback.print_exception(e)
TypeError: print_exception() missing 2 required positional arguments: 'value' and 'tb'
File "C:\Users\Wille\Desktop\AI-Aimbot-2.2.2\AI-Aimbot-2.2.2\main.py", line 3, in
import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
Is anyone on the team working on updating this project to take advantage of the recently released YOLOv8?
Make the center detection box adjustable via width & height
For the curious people out there I have done some testing on this and my own aimbots using a GTX 1080ti GPU. This is about as good as you'll find without writing something yourself.
At a high-level:
In a deeper-dive:
Instead of aiming on the player, it goes on the right of the player
Hi all, thank for the great project. Wanted to test it out on Linux but the requirements have win32api. Is it possible to get this run on Linux too?
how do i make it work in full screen?
https://cdn.discordapp.com/attachments/925204205453602816/1042930031757885520/image.png i changed the name but still i does this
Does it support the game Crossfire?
ImportError: cannot import name 'is_notebook' from 'utils.general'
Had this issue when I tried to run main.py in powershell
Can you guys help me to fix this?
Hi, I have errors with cupy on amd gpu. It says "no cuda capable device is detected". Which is obvious, I don't have Nvidia GPU. How can I solve ? Is there a version of cupy for AMD ? (maybe cupy-rocm, but I'm on Windows 10 and it says it's only for Linux). How can I solve ?
hello, im getting the following error
File "C:\Users\ayden\OneDrive\Desktop\AI-Aimbot-2.2.2\AI-Aimbot-2.2.2\main.py", line 2, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
ive re installed the module multiple times and it has still not worked please help.
Loading yolov5s320Half.engine for TensorRT inference...
[08/02/2022-00:09:49] [TRT] [I] [MemUsageChange] Init CUDA: CPU +412, GPU +0, now: CPU 12438, GPU 1245 (MiB)
[08/02/2022-00:09:49] [TRT] [I] Loaded engine size: 15 MiB
[08/02/2022-00:09:49] [TRT] [E] 6: The engine plan file is generated on an incompatible device, expecting compute 8.6 got compute 7.5, please rebuild.
[08/02/2022-00:09:49] [TRT] [E] 4: [runtime.cpp::nvinfer1::Runtime::deserializeCudaEngine::50] Error Code 4: Internal Error (Engine deserialization failed.)
Traceback (most recent call last):
File "C:\ai\main_tensorrt_gpu.py", line 187, in
main()
File "C:\ai\main_tensorrt_gpu.py", line 83, in main
model = DetectMultiBackend('yolov5s320Half.engine', device=torch.device('cuda'), dnn=False, data='', fp16=True)
File "C:\ai\models\common.py", line 389, in init
for index in range(model.num_bindings):
AttributeError: 'NoneType' object has no attribute 'num_bindings'
could we get it implemented that a character in a 3rd person game is discounted from the algorithm? another program I used to use had this line to prevent such a thing.
"if len(results.xyxy[0]) != 0: #player detected
least_crosshair_dist = closest_detection = player_in_frame = False
for *box, conf, cls in results.xyxy[0]: #iterate over each player detected
x1y1 = [int(x.item()) for x in box[:2]]
x2y2 = [int(x.item()) for x in box[2:]]
x1, y1, x2, y2, conf = *x1y1, *x2y2, conf.item()
height = y2 - y1
relative_head_X, relative_head_Y = int((x1 + x2)/2), int((y1 + y2)/2 - height/2.7) #offset to roughly approximate the head using a ratio of the height
own_player = x1 < 15 or (x1 < self.box_constant/5 and y2 > self.box_constant/1.2) #helps ensure that your own player is not regarded as a valid detection"
Just an idea ty
can i do this without a graphics card ?
Hello, I tried to install detectron2, but I think installing detectron2 on windows is too complicated I read their installation tutorial but I did not understand anything, so please make a tutorial for this:)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.