You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable resizing is passed into _preprocess_image but in the body of the code, the variable shape_correct is passed which has opposite definition as resizing. Suggest changing resizing in the function definition to be shape_correct and change line 277 to be if not shape_correct:.
The text was updated successfully, but these errors were encountered:
Thank you a lot for spotting and reporting the bug! Yes, indeed, currently the behavior is opposite to what should be expected, i.e. frame is resized when not needed, and not resized when needed. Your suggested modifications have been incorporated.
The variable
resizing
is passed into_preprocess_image
but in the body of the code, the variableshape_correct
is passed which has opposite definition as resizing. Suggest changing resizing in the function definition to beshape_correct
and change line 277 to beif not shape_correct:
.The text was updated successfully, but these errors were encountered: