We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1c302 commit a4b92f0Copy full SHA for a4b92f0
roboflow/models/object_detection.py
@@ -179,7 +179,9 @@ def predict( # type: ignore[override]
179
import cv2
180
import numpy as np
181
182
- should_resize = "resize" in self.preprocessing.keys() and "Stretch" in self.preprocessing["resize"]["format"]
+ should_resize = (
183
+ "resize" in self.preprocessing.keys() and "Stretch" in self.preprocessing["resize"]["format"]
184
+ )
185
186
if isinstance(image_path, str):
187
image = Image.open(image_path).convert("RGB")
0 commit comments