Page 1 of 1

GetCurrentVideoFrame() return size is wrong

PostPosted: Thu Jan 03, 2019 8:31 pm
by btb4198
ok so I just learned that GetCurrentVideoFrame() return a fame that is double the size of my videoSourcePlayer.
so my videoSourcePlayer is size (1319, 941)
and when GetCurrentVideoFrame() return a bitmap it is size (2638,1882).

I need it to returned the same size as the videoSourcePlayer.
how do I do that ?

Re: GetCurrentVideoFrame() return size is wrong

PostPosted: Fri Jan 04, 2019 7:26 am
by andrew.kirillov
As mentioned on another topic, GetCurrentVideoFrame() does exactly what it is supposed to do - provides image from camera, not the one which is displayed. So you have two options - 1) resize image yourself or 2) modify video source player to provide image it is displaying.