logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
avsoundguy  
#1 Posted : Wednesday, November 1, 2023 11:56:52 AM(UTC)
avsoundguy

Rank: Advanced Member

Groups: Registered
Joined: 10/26/2016(UTC)
Posts: 80

Thanks: 191 times
Was thanked: 13 time(s) in 12 post(s)
UPDATE for clarification-- This is more correctly called Perspective or Keystone Correction as noted by Rich Shumaker.

A deskew filter would allow us to "straighten out" a camera feed that is bringing in a scoreboard video feed which would make it easier to integrate it with our sports streams.

MimoLive Deskew Filter

Maybe this will clarify what I am asking

MimoLive Deskew Filter.png (1,202kb) downloaded 0 time(s).

Note that we do not intend to use this to bring in the actual scoreboard image into the production but would only use the corrected video to capture portions of the scoreboard with the changing data (mostly the clock) to make for a better viewer experience. Also the UVMap is an OK idea but we would need to generate a new UVMap at every game since the camera will never be in the exact same place twice.

Also I have found an example with Python that someone who was handing might be able to further develop.

Python Sample Code
RichShumaker  
#2 Posted : Wednesday, November 1, 2023 2:19:00 PM(UTC)
RichShumaker

Rank: Advanced Member

Groups: Registered
Joined: 4/4/2016(UTC)
Posts: 235
United States
Location: Not Los Angeles CA

Thanks: 86 times
Was thanked: 28 time(s) in 23 post(s)
Is this what they call keystone correction on projectors?
+1 if it is
Otherwise I may need to figure out what this is before the +1, heheh.
chrissabato  
#3 Posted : Wednesday, November 1, 2023 3:01:17 PM(UTC)
chrissabato

Rank: Member

Groups: Registered
Joined: 4/28/2019(UTC)
Posts: 11
United States
Location: Salem, Oregon

Was thanked: 2 time(s) in 2 post(s)
To make this work, I think adding horizontal and vertical skew to the position settings plus the ability to crop post position changes would get it done.
kross  
#4 Posted : Wednesday, November 1, 2023 4:34:55 PM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 144
United States

Thanks: 2 times
Was thanked: 28 time(s) in 28 post(s)
EDIT: Nevermind. What you were asking for wasn't what I was thinking.

This feature already exists, but because it's called rotate, you probably didn't realize it was there. On the Position tab, next to the Rotate option, click the letter until it reads X. Then the slider will do one form of keystone correction that a projector would have. Clicking until it reads Y causes the keystone correction to be applied on the other axis. Z is the rotation that one thinks of when they think of rotation.

This will introduce some black borders. You just then needs to zoom in and possibly crop to hide the black areas that get created.
doggy  
#5 Posted : Thursday, November 2, 2023 1:25:58 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
I like the idea .... but imo most users like scoreboard data to be pulled from the scoreboard display system to display them in custom titles
Just looks so much nicer than a PIP of the board.

But until such filter is available and dont want to use scoreboard OCR an idea might be
:

In order to display such scoreboard (video)image the camera is fixed during the whole production. As such one can:
Use a basic Virtual set with a UVMap
load a fulle screen UVmap in Gimp
Get a screenshot from the scoreboard input and put on top of the UVMap in Gimp
Link both layers and use the perspective tool to adjust the image
Select the part of the scoreboard image and remove/erase the outerside of it (both layers still linked together), or crop later using a Mix Input
Export the UVmap layer of it to your virtualset folder (same name as "normal" original uvmap)
Load the virtual set and set the UVmap layer to the scoreboardfeed, you now have a deskewed view of the video (maight want to set the MAIN layer of the virtual set to full transparent before overlaying


Screenshot 2023-11-02 112641.jpg (196kb) downloaded 1 time(s).
royshil  
#6 Posted : Saturday, April 27, 2024 11:33:37 AM(UTC)
royshil

Rank: Newbie

Groups: Registered
Joined: 4/27/2024(UTC)
Posts: 2
United States

Was thanked: 1 time(s) in 1 post(s)
You can try ScoreSight https://github.com/occ-ai/scoresight free open-source, it has perspective correction built-in
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.