Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Im trying to use the CAP_PROP_FPS option in the Video Input Configuration, but nothing changes about my video stream. Also tried a few other options, no change. Im using an Aver Mini GC311.
Is there a specific command I have to use?
Is there a specific command I have to use?
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
perhaps you are hitting your max fps your computer is able to handle.
hard to tell without knowing anything about your current fps, hardware and script you are using.
hard to tell without knowing anything about your current fps, hardware and script you are using.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
FPS comes in unchanged. I realized that I can write anything in that Box, the scripts runs regardless. Thus, I think that it doesn’t even recognize my entry.
I was generally wondering what happens behind the GUI oder that GCVWorker class? Is there some form of „videocapture“ function that automatically runs when clicking the green arrow? How can I look into that code?
Any help is much appreciated!
I was generally wondering what happens behind the GUI oder that GCVWorker class? Is there some form of „videocapture“ function that automatically runs when clicking the green arrow? How can I look into that code?
Any help is much appreciated!
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
your capture card is limited to 60fps according to its specs. if that is what you are currently getting or close to it its fine.
That fps shown there depends also a lot on your gcv script and pc hardware.
that green arrow starts the script selected in the combobox of that computer vision pane.
I think that Video Input Check is a special one that just passes back the captured frame directly to gtuner IV.
Create a new gcv file and you see the basic structure.
The internals of GTuner IV are closed source, only J2kbr knows all the details.
That fps shown there depends also a lot on your gcv script and pc hardware.
that green arrow starts the script selected in the combobox of that computer vision pane.
I think that Video Input Check is a special one that just passes back the captured frame directly to gtuner IV.
Create a new gcv file and you see the basic structure.
The internals of GTuner IV are closed source, only J2kbr knows all the details.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Damn it J2kbr, let us know what’s going on there!
Ah ok, so technically, the combination of
- resolution selection
- AVFoundation
- Video Input Configuration arguments
should affect my „frame“ in the GCVWorker class. I really need to be able have influence on it, as I want to not only limit FPS, but also change it to gray etc. preferable before my .py script even receives the frame.
As I said before, I can write „1234567“ in that Box, nothing changes. It doesn’t seem to pick up the arguments in the configuration window at all
Ah ok, so technically, the combination of
- resolution selection
- AVFoundation
- Video Input Configuration arguments
should affect my „frame“ in the GCVWorker class. I really need to be able have influence on it, as I want to not only limit FPS, but also change it to gray etc. preferable before my .py script even receives the frame.
As I said before, I can write „1234567“ in that Box, nothing changes. It doesn’t seem to pick up the arguments in the configuration window at all
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Just to double check, the flags are suppose to work by merely placing that line in the config window, correct? Example:
CAP_PROP_FPS=30
Correct?
For this one I have no idea what I need to put at the end? Cannot find any documentation on it?
CAP_PROP_IOS_DEVICE_FOCUS=???
CAP_PROP_FPS=30
Correct?
For this one I have no idea what I need to put at the end? Cannot find any documentation on it?
CAP_PROP_IOS_DEVICE_FOCUS=???
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
CAP_PROP_FPS doesn't seem to work for me at all. looks like the value of the combo box is always the used one.
no idea what flags are supported by gtuner.
no idea what flags are supported by gtuner.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
Another reason why we desperately need some documentation on CV.
So many unknowns... makes it really difficult to get the hang of it :(
So many unknowns... makes it really difficult to get the hang of it :(
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
..looks like that CAP options aren't working for me as I am currently using display capture and not a normal opencv capture device that can use those options.
Just do required conversions/cropping/editing in the process function of your gcv script for now.
Just do required conversions/cropping/editing in the process function of your gcv script for now.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Gtuner IV 1.07 PUBLIC RELEASE: Computer Vision
I just tried that but apparently the conversion to Gray does not work on the frame which is imported in the process
I am getting this error:
(-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'matchTemplate'
For all my other scripts where I convert a frame from a video stream, it works.
I am getting this error:
(-215:Assertion failed) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function 'matchTemplate'
For all my other scripts where I convert a frame from a video stream, it works.
-
eom85 - First Sergeant
- Posts: 65
- Joined: Wed Jun 21, 2017 7:51 pm
Return to News and Announcements
Who is online
Users browsing this forum: No registered users and 42 guests