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 a0de0e5 commit 46dd85aCopy full SHA for 46dd85a
MTM/__init__.py
@@ -324,7 +324,7 @@ def drawBoxesOnRGB(image:NDArray, listHit:Sequence[Hit], boxThickness:int=2, box
324
original image with predicted template locations depicted as bounding boxes
325
"""
326
# Convert Grayscale to RGB to be able to see the color bboxes
327
- outImage = cv2.cvtColor(image, cv2.COLOR_GRAY2RGB) if image.ndim == 2 else image.copy
+ outImage = cv2.cvtColor(image, cv2.COLOR_GRAY2RGB) if image.ndim == 2 else image.copy()
328
329
for label, bbox, _ in listHit:
330
@@ -388,4 +388,4 @@ def drawBoxesOnGray(image:NDArray, listHit:Sequence[Hit], boxThickness=2, boxCol
388
color=labelColor,
389
lineType=cv2.LINE_AA)
390
391
- return outImage
+ return outImage
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments