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 9b4c929 commit f404865Copy full SHA for f404865
geetest.py
@@ -298,10 +298,17 @@ def crack(self):
298
bg_location_list, fullbg_location_list = self.get_images(bg_filename, fullbg_filename)
299
300
# 根据位置对图片进行合并还原
301
+ # 方法1
302
+ # bg_img = self.get_merge_image(bg_filename, bg_location_list)
303
+ # fullbg_img = self.get_merge_image(fullbg_filename, fullbg_location_list)
304
+ # 方法2
305
bg_img = save_bg(self.browser)
306
full_bg_img = save_full_bg(self.browser)
307
- # 获取缺口位置
308
+ # 获取缺口位置
309
310
+ # gap = self.get_gap(fullbg_img, bg_img)
311
312
gap = self.get_gap(image.open(full_bg_img), image.open(bg_img))
313
print('缺口位置', gap)
314
0 commit comments