Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision

Official news and announcements from the ConsoleTuner team.

Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision

Postby Scachi » Fri Apr 30, 2021 3:24 pm

one way to convert something to greyscale:
grey = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)

when you use image template matching you may need to use the same image format/depth to be able to use the functions, something like that may help then
fakecolor = cv2.cvtColor(grey, cv2.COLOR_BGR2RGB)
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 2861
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision

Postby eom85 » Tue May 04, 2021 9:07 am

Any ideas how to reduce the lag between PS5 and Gtuner Preview? For me, the only way to reduce it, is by lowering the resolution of the input.
Once the signal is there, all of my script operations might reduce frame rate, but have no effect on the actual latency... meaning, even with the simplest script where I just pass through the frame, there is latency on higher resolutions.

I thought about cropping a section of the high resolution frame BEFORE it enters my computer, essentially getting high resolution on only a fraction of the screen. Is that possible?

Any other ideas?
User avatar
eom85
First Sergeant
First Sergeant
 
Posts: 65
Joined: Wed Jun 21, 2017 7:51 pm

Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision

Postby Scachi » Tue May 04, 2021 9:57 am

no idea how good you are on guessing small delay times, hard to tell what latency I have between video out and captured video in / gtuner preview..no idea how much milliseconds that is.
there is always some latency..the lowest latency capture devices are pci-e I think.
Not sure if usb 2 and usb3 makes a differences. your card seems to be usb 2.0
For gtuner IV it also depends a lot on your hardware cpu.
using the "video input test" script is as fast/small delay as it can get by default as it only returns the frame without modifying it.

Did you try using a different driver in the "Video Input Configuration" ?
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 2861
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision

Postby eom85 » Tue May 04, 2021 2:23 pm

Ok, so you are saying the Video Input Test is the absolute lowest latency I can get for my hardware setup. Seems reasonable, yet disappointing :roll:

I tried all of them, but AVFoundation is the only one that works.
BTW, I’m running an Aver Mini and an old MacBook Pro from 2010.

I really hoped there is a way to trim the input on the capture card before passing it through to my computer. The config window kind of gave that idea.
User avatar
eom85
First Sergeant
First Sergeant
 
Posts: 65
Joined: Wed Jun 21, 2017 7:51 pm

Previous

Return to News and Announcements

Who is online

Users browsing this forum: adolf_hitler and 3 guests