[GCV/GPC] Apex Legends CV Anti-Recoil
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
Thanks Mad.
-
Krakkon - Sergeant First Class
- Posts: 24
- Joined: Wed Mar 20, 2019 5:27 am
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
Hi there, I do get this error, can anyone please suggest the way to fix it please.
GCV Error: _win_os_check()
File "C:\Users\Patipol\AppData\Local\Programs\Python\Python38\Lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\Patipol\\AppData\\Local\\Programs\\Python\\Python38\\Lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
numpy.core.multiarray failed to import
Computer Vision: ERROR: Gpython process exited with error code 111
GCV Error: _win_os_check()
File "C:\Users\Patipol\AppData\Local\Programs\Python\Python38\Lib\site-packages\numpy\__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\Patipol\\AppData\\Local\\Programs\\Python\\Python38\\Lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
numpy.core.multiarray failed to import
Computer Vision: ERROR: Gpython process exited with error code 111
-
boxerpram - Sergeant First Class
- Posts: 25
- Joined: Sun Nov 08, 2020 8:28 am
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
Answered there: viewtopic.php?f=27&t=14912&p=108276#p108276
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
Finally giving CV a shot.
Does anyone know how to fix this error? In GTuner the image/vid capture is fine, but I have black borders around it, which is breaking the image recognition. A few posts back I see I should add and adjust this in the advanced config:
CAP_CROP_TOP=20
CAP_CROP_LEFT=20
CAP_CROP_RIGHT=20
CAP_CROP_BOTTOM=20
Except when I try running with this I get an error (I am using an Elgato HD 60 S) - so no video :
GCV Error: module 'cv2.cv2' has no attribute 'CAP_CROP_TOP'
GCV Error: Exception ignored in:
Traceback (most recent call last):
File "", line 17, in __del__
GCV Error: File "C:\Users\inc77\T2\_apex_antirecoil\apex_antirecoil.py", line 482, in __del__
del self.idx
AttributeError: idx
Does anyone know how to fix this error? In GTuner the image/vid capture is fine, but I have black borders around it, which is breaking the image recognition. A few posts back I see I should add and adjust this in the advanced config:
CAP_CROP_TOP=20
CAP_CROP_LEFT=20
CAP_CROP_RIGHT=20
CAP_CROP_BOTTOM=20
Except when I try running with this I get an error (I am using an Elgato HD 60 S) - so no video :
GCV Error: module 'cv2.cv2' has no attribute 'CAP_CROP_TOP'
GCV Error: Exception ignored in:
Traceback (most recent call last):
File "", line 17, in __del__
GCV Error: File "C:\Users\inc77\T2\_apex_antirecoil\apex_antirecoil.py", line 482, in __del__
del self.idx
AttributeError: idx
-
inc0S - Private First Class
- Posts: 2
- Joined: Tue Jul 14, 2020 6:46 pm
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
So i got everything setup, from mouse/keyboard to titan 2 to pc,
Rapid fire is working fine, it detect the weapons, but anti-recoil does nothing i can put vscale to 1 or 100 it does nothing,
Am i missing something ?
Data_set is 2 as well so i am not sure what is going wrong here, do i need to setup something else as well ?
Rapid fire is working fine, it detect the weapons, but anti-recoil does nothing i can put vscale to 1 or 100 it does nothing,
Am i missing something ?
Data_set is 2 as well so i am not sure what is going wrong here, do i need to setup something else as well ?
-
GDExcedo - Private
- Posts: 1
- Joined: Thu Jan 07, 2021 2:01 pm
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
May I please have some explanations on which values represent what on GPC , I would like to adjust some delays and anti values on a few guns, please and thank you.
-
boxerpram - Sergeant First Class
- Posts: 25
- Joined: Sun Nov 08, 2020 8:28 am
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
GDExcedo wrote:So i got everything setup, from mouse/keyboard to titan 2 to pc,
Rapid fire is working fine, it detect the weapons, but anti-recoil does nothing i can put vscale to 1 or 100 it does nothing,
Am i missing something ?
Data_set is 2 as well so i am not sure what is going wrong here, do i need to setup something else as well ?
For better help you with this configuration, please connect both PROG and OUTPUT ports of the Titan Two device to your computer with Apex Legends on Firing Range. Then send me a screenshot of Gtuner IV opened on Computer Vision panel so we can check if the video input is working correctly. Thank you.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
boxerpram wrote:May I please have some explanations on which values represent what on GPC , I would like to adjust some delays and anti values on a few guns, please and thank you.
Normally the values that are needed to adjust are at the beginning of the GCV script (Phyton). These are:
GLOBAL_HSCALE
GLOBAL_VSCALE
DATA_SET
DEADZONE_SIZE
However, if you are referring to the recoil pattern table, a Python tuple :
(0.0, 21.969879150390625, 0.08776084582010905)
has the following meaning:
(<horizontal anti-recoil>, <vertical anti-recoil>, <time>)
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
J2Kbr wrote:boxerpram wrote:May I please have some explanations on which values represent what on GPC , I would like to adjust some delays and anti values on a few guns, please and thank you.
Normally the values that are needed to adjust are at the beginning of the GCV script (Phyton). These are:
GLOBAL_HSCALE
GLOBAL_VSCALE
DATA_SET
DEADZONE_SIZE
However, if you are referring to the recoil pattern table, a Python tuple :
(0.0, 21.969879150390625, 0.08776084582010905)
has the following meaning:
(<horizontal anti-recoil>, <vertical anti-recoil>, <time>)
Thanks very much Mr. J2 may I ask what are those numbers behind these first three ? And if I want to find a new / adjusted pattern for my gun with my preferred dz, is there a GPC that record and summarize the result?
-
boxerpram - Sergeant First Class
- Posts: 25
- Joined: Sun Nov 08, 2020 8:28 am
Re: [GCV/GPC] Apex Legends CV Anti-Recoil
boxerpram wrote:Thanks very much Mr. J2 may I ask what are those numbers behind these first three ? And if I want to find a new / adjusted pattern for my gun with my preferred dz, is there a GPC that record and summarize the result?J2Kbr wrote:(<horizontal anti-recoil>, <vertical anti-recoil>, <time>)
It is a repeating sequence of tuples. What the script does is apply the <horizontal anti-recoil>, <vertical anti-recoil> for the time defined in <time>, then move to the next tuple and do the same until the "null" tuple is reached (0, 0, 0).
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Return to Gtuner Computer Vision
Who is online
Users browsing this forum: No registered users and 33 guests