Titan two CV mouse controller
5 posts
• Page 1 of 1
Titan two CV mouse controller
Hi there
First of all, I would like to say that I bought a new titan two.
Can we move mouse connected to titan 2 port A using python cv2 library script?
First of all, I would like to say that I bought a new titan two.
Can we move mouse connected to titan 2 port A using python cv2 library script?
-
Derappa - Staff Sergeant
- Posts: 12
- Joined: Fri Mar 04, 2022 2:13 am
- Location: Turkey
Re: Titan two CV mouse controller
You'd send the data to the GPC script and then use set_val if using controller or mouse_set if using HID.
https://www.consoletuner.com/wiki/index ... _functions
https://www.consoletuner.com/wiki/index ... _functions
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: Titan two CV mouse controller
Oh.. Thanx you Mad.
1-I looked at the forum and couldn't find a topic that would draw a suitable path for the scenario in my mind.
2-I looked through the past threads on Github and found a few scripts.
https://github.com/J2Kbr/GtunerIV/issues/406
Save the same code with .py file and it will not work on Computer vision.
Eror:
GCV Error: ('invalid syntax', ('', 7, 6, 'from 1 import GCVWorker\n'))
GCV Error: SyntaxError: invalid syntax (, line 7)
Computer Vision: ERROR: Gpython process exited with error code 111
----------------------------------------------------------------------------------------------------------
The scenario I have in mind is as follows
1-Capture on the 2nd screen with computer vision with remote play
(i am doing this)
2-The script located in the frame of the moving object in the image reflected on the screen.
3-and moving the mouse to the captured frame in this image
Is this scenario possible?
thanks again
1-I looked at the forum and couldn't find a topic that would draw a suitable path for the scenario in my mind.
2-I looked through the past threads on Github and found a few scripts.
https://github.com/J2Kbr/GtunerIV/issues/406
Save the same code with .py file and it will not work on Computer vision.
Eror:
GCV Error: ('invalid syntax', ('', 7, 6, 'from 1 import GCVWorker\n'))
GCV Error: SyntaxError: invalid syntax (, line 7)
Computer Vision: ERROR: Gpython process exited with error code 111
----------------------------------------------------------------------------------------------------------
The scenario I have in mind is as follows
1-Capture on the 2nd screen with computer vision with remote play
(i am doing this)
2-The script located in the frame of the moving object in the image reflected on the screen.
3-and moving the mouse to the captured frame in this image
Is this scenario possible?
thanks again
-
Derappa - Staff Sergeant
- Posts: 12
- Joined: Fri Mar 04, 2022 2:13 am
- Location: Turkey
Re: Titan two CV mouse controller
Rename the python file without spaces and it'll run.
Not sure what you mean by 2-
Not sure what you mean by 2-
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
Re: Titan two CV mouse controller
I wanted to say
Is it possible to advance mouse movement to captured object with opencv moving object capture?
Is it possible to advance mouse movement to captured object with opencv moving object capture?
-
Derappa - Staff Sergeant
- Posts: 12
- Joined: Fri Mar 04, 2022 2:13 am
- Location: Turkey
5 posts
• Page 1 of 1
Return to Gtuner Computer Vision
Who is online
Users browsing this forum: No registered users and 69 guests