Skip to content

Commit 26a0e30

Browse files
committed
visualize BGR to RGB
1 parent ddce9b8 commit 26a0e30

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

opencv_tools/jade_visualize.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ def visualize(image_file,
282282
show_score=show_score,
283283
font_path=font_path,
284284
font_size=font_size)
285-
return np.array(im)
285+
im = np.array(im)
286+
287+
return cv2.cvtColor(im,cv2.COLOR_BGR2RGB)
286288

287289

288290
def resize_img(img, input_size=600):

0 commit comments

Comments
 (0)