janghaludu / cowin-captcha

6 stars 2 forks source link

Surprised to see that they're giving us the raw SVG #2

Open subhashisbhowmik opened 3 years ago

subhashisbhowmik commented 3 years ago

Surprised to see that they're giving us the raw SVG, should be able to read the path for easier parsing

janghaludu commented 3 years ago

You're right!!! Just noticed that there are always 5 path objects in every file with 5 characters even if the characters are intersecting!

subhashisbhowmik commented 3 years ago

Yes, and easily distinguishable from the small spline paths (strokes vs fills)

subhashisbhowmik commented 3 years ago

Example

janghaludu commented 3 years ago

Neato. Implementing this will definitely give a boost to accuracy. Will try doing this and replacing Zernike Polynomials with HOG descriptors over the weekend if I get time. Feel free to give it a go :)

janghaludu commented 3 years ago

Managed to get probably 100% accuracy with average time of 500 milliseconds now :) I'm yet to find a CAPTCHA that is decoded wrongly in 500 consecutive tests (2500 characters). Appreciate the tip. Will update the repo soon.