Computer Vision Script (HELP NEEDED)

GCV scripting for Gtuner IV and Titan Two. Configuration, examples, questions.

Computer Vision Script (HELP NEEDED)

Postby Knowbxdy » Thu Mar 10, 2022 5:35 pm

So i'm trying to use the template match function for opencv with gtuner,

I'm curious how to designate the screen capture as the "image" in which i am searching(not the image i'm searching for)

Also, is it possible to use yolov3 with gtuner?
User avatar
Knowbxdy
Corporal
Corporal
 
Posts: 4
Joined: Mon Mar 07, 2022 10:03 pm

Re: Computer Vision Script (HELP NEEDED)

Postby Knowbxdy » Fri Mar 11, 2022 2:48 pm

I've moved on to using another method but i keep running into this error:

GCV Error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\demosaicing.cpp:1699: error: (-215:Assertion failed) scn == 1 && dcn == 1 in function 'cv::demosaicing'

any ideas on how to fix this? i haven't been able to troubleshoot it myself
User avatar
Knowbxdy
Corporal
Corporal
 
Posts: 4
Joined: Mon Mar 07, 2022 10:03 pm

Re: Computer Vision Script (HELP NEEDED)

Postby Knowbxdy » Fri Mar 11, 2022 5:36 pm

I realized the issue, but do not know how to fix it.

when converting the frame in the GCVWorker process to grayscale it doesnt seem to like that.

Not sure how to fix it, but will keep this thread updated if I do
User avatar
Knowbxdy
Corporal
Corporal
 
Posts: 4
Joined: Mon Mar 07, 2022 10:03 pm

Re: Computer Vision Script (HELP NEEDED)

Postby Knowbxdy » Sat Mar 12, 2022 2:10 am

update: I did it
User avatar
Knowbxdy
Corporal
Corporal
 
Posts: 4
Joined: Mon Mar 07, 2022 10:03 pm

Re: Computer Vision Script (HELP NEEDED)

Postby Qzkago » Mon Mar 14, 2022 12:36 pm

Knowbxdy wrote:update: I did it

If you have the time, please let us know how you fixed it. There might be some users who will search the forums with your same problem down the line, but they will prob cry to end up at this update.
User avatar
Qzkago
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Mon Sep 20, 2021 12:55 pm


Return to Gtuner Computer Vision

Who is online

Users browsing this forum: No registered users and 86 guests