Last active
November 21, 2022 04:36
-
-
Save remoharsono/e8dc8d4cc148d0f32005f723812e6a29 to your computer and use it in GitHub Desktop.
Revisions
-
remoharsono revised this gist
Nov 21, 2022 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ import cv2 image = cv2.imread("image.png") x = cv2.selectROI("Select area", image, fromCenter=False) -
remoharsono created this gist
Nov 21, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ import cv2 import numpy as np image = cv2.imread("image.png") x = cv2.selectROI("Select area", image, fromCenter=False) print("Selected box: ", format(x))