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
If grabbing fails for whatever reason, and if there are some post-processing operations to be applied (zoom or crop), an exception will be raised because the grabbed frame is None and None cannot be zoomed or cropped.
If grabbing fails for whatever reason, and if there are some post-processing operations to be applied (zoom or crop), an exception will be raised because the grabbed frame is None and None cannot be zoomed or cropped.
For example, if you run:
It will raise something like:
The solution to this should be just to return None in this case, which is what would happen if grabbing failed and there was no zooming or cropping.
The text was updated successfully, but these errors were encountered: