Next Bump?
The one I've found no longer works.
Anyone know of any good OCR scripts? Maybe something to work in conjunction with an Autohaggler?
Next Bump?
I am no g.m expert , infact i have not used it but as no one else seems to have a solution ill give i will give it a shot , hopefully you can get something running from this.
PHP Code:
function convert_captcha(image_data){ for (var x = 0; x < image_data.width; x++){
var darkestpixel = 100000; //set a very bight value for default value so it will always get changed
var darkestpixel_y = 0;
var darkestpixel_x = 0;
for (var y = 0; y < image_data.height; y++){
var i = x*4+y*4*image_data.width;
var luma = Math.floor(image_data.data[i] * 299/1000 +
image_data.data[i+1] * 587/1000 +
image_data.data[i+2] * 114/1000);
if (luma < darkestpixel ) //new darkest pixel is less than the last one
{
darkestpixel_x = x
darkestpixel_y = y
}
}
}
}
darkestpixel_x , darkestpixel_y should now be the captca point , you should add a step to the code so it does not check every single pixel if speed is a issue. All this code does if find the darkest pixel in the image by checking every pixels r,g,b value then using a algorithm to convert them to a brightness value or "luminosity". Then we just loop and find the pixel with darkest luminosity. In captcha images this is always the neopet.
Last edited by DarkByte; 08-09-2012 at 07:40 AM.
Let me share with you the script that I wanted to use, but doesn't do anything when I click install
(you need an account to see links)
Now is there a way to install this manually. Since I think you can still get the script if you disable GM and click install. Because then it takes you to a white page with text. That looks kinda like what you just posted. Or I could be completely wrong.
I don't wouldnt know how to go about installing either of those things into GM, tho.
Bummmppp?
Anyone know what OCR stands for?
Optical character recognition , basically extracting text / making sense of a captcha image via a program.
Its also used by scanners so when u scan a document it can convert it to a word document ect.
Oh wow. Okay. That makes a lot of sense.
Thanks.
No one knows of any?
I think I already said I don't know how to use it...
What do I do with it..?
---------- Post added at 05:51 PM ---------- Previous post was at 05:42 PM ----------
Maybe someone can help explain to me how I would use it?