Skip to content

Commit 0cf7c44

Browse files
committed
correct the typo and updated select_area_with_ipywidget()
1 parent b4f8ea4 commit 0cf7c44

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

saved_screenshots/image.jpeg

1.2 MB
Loading

scrapegraphai/sreenshot_scraping/screenshot_preparation.py renamed to scrapegraphai/screenshot_scraping/screenshot_preparation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ def update_plot(top_bottom, left_right, image_size):
172172

173173
interact(update_plot, top_bottom=top_bottom_slider,
174174
left_right=left_right_slider, image_size=image_size_bt)
175+
176+
return left_right_slider, top_bottom_slider
175177

176178

177179
def crop_image(image, LEFT=None, TOP=None, RIGHT=None, BOTTOM=None, save_path: str = None):
@@ -210,4 +212,4 @@ def crop_image(image, LEFT=None, TOP=None, RIGHT=None, BOTTOM=None, save_path:
210212

211213

212214
# image=asyncio.run(take_screenshot("https://unix.stackexchange.com/questions/690233/piping-yes-when-running-scripts-from-curl", save_path="saved_screenshots/image.jpeg"))
213-
# print(select_area_with_opencv(image))
215+
# print(select_area_with_ipywidget(image))

0 commit comments

Comments
 (0)