Larger scaling numbers result in white frames (?) [closed]
Hi, This question is about a project I'm USING, not one that I've written.
I'm running a function which scales the image, like this:
resize(frame_g8, frame_g8, Size(), scale, scale, INTER_LINEAR);
The input image is 320x240. This works fine for any scales when I'm running on my laptop (Ubuntu 18.04), but when I run it on Debian 10 on a Snapdragon 410C I start getting white frames in the output.
I'm not 100% sure that this is the responsible function, but it seems to correlate well with larger scaling factors. I can't get above about 2.5 without the majority of the output frames starting to become white.
Might this have something to do with insufficient processing power on an embedded platform? If so, I would just expect it to take longer and reduce the output frame rate, not break.
Cheers, Rafael
You could check if it is a timing issue by using a heavier & thus slower resizing method - the issue should hit at lower factors.