Skip to content

Commit 3e1edaf

Browse files
authored
Update howToSolveGeoCaptchasWalkthrough.md
1 parent 4d866bb commit 3e1edaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/howToSolveGeoCaptchasWalkthrough.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Now we use a (self written) bucket fill tool from the center of the image (25px,
4848
(Captcha with white shape)
4949

5050

51-
This way we can remove the number displayed in the little image (in the upper left corner). We need this because we want to find the pixel with the greatest distance from the center next. We can get the distance using the ![Math.hypot()]([https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot?retiredLocale=de](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot?retiredLocale=de)) function on all white pixels and choose the one with the heighest distance.
51+
This way we can remove the number displayed in the little image (in the upper left corner). We need this because we want to find the pixel with the greatest distance from the center next. We can get the distance using the [Math.hypot()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot?retiredLocale=de) function on all white pixels and choose the one with the heighest distance.
5252

5353
![ks](/docs/out5_3_withDistance.png)
5454

@@ -89,7 +89,7 @@ Circle > 0
8989
```
9090

9191
In this case 3491 > 3300 ... so we guess it as 6 corner shape (Hexagon)
92-
So we get result like this for the whole captcha and compair it the shape in the upper left corner to get a result:
92+
So we get resultslike this for every shape of the captcha and compair it the shape in the upper left corner to get a result:
9393

9494
![ks](/docs/consoleOutFilejoker.PNG)
9595

@@ -99,4 +99,4 @@ So we get result like this for the whole captcha and compair it the shape in the
9999
## Conclution ##
100100

101101
In my tests this is working for like 95% of the shapes. That said, we have about 10 shapes in each captcha, so we are getting about >50% Success rate over all (thats enough for this kind of task). Recognize rectangels and circles is very easy because the difference of the pixels to the next shape is very big.
102-
In between it is not always be correct but it seems to be sufficient.
102+
In between it is not always correct but it seems to be sufficient.

0 commit comments

Comments
 (0)