Dear Jaka
Thank you for your quick reply!
jakaskerl Then do preview.setKeepAspectRatio(False) which will keep the FOV and downscale only.
Yes, I didn't think of that, I could do that (maybe with some tuning of the Neural network), thank you!
Just for my understanding, what's the reason why some setResizeThumbnail
make the pipeline crash?
After some tests changing OUTPUT_SIZE
here's what I've found:
OUTPUT_SIZE = 360, 361, 362, 363, 364 OK
OUTPUT_SIZE = 365 to 392 crash (Fatal error. Please report to developers. Log: 'ResourceLocker' '358')
OUTPUT_SIZE = 393, 394 OK
OUTPUT_SIZE = 395, 396, 397, 398 crash
OUTPUT_SIZE = 399, 400, 401, 402 OK
I don't get why some works and some not, I would expect them to take almost the same amount of memory (especially with very similar sizes like 398 and 399).
Thank you again for your help
Best regards
Simone