|
|
@@ -262,7 +262,7 @@ def non_max_suppression(boxes, overlapThresh):
|
|
|
|
|
|
def save_screenshot(path="test"):
|
|
|
# Take a screenshot
|
|
|
- result = get_current_screen()
|
|
|
+ result = capture_current_screen()
|
|
|
|
|
|
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
|
|
image = Image.open(io.BytesIO(result))
|