Go Back   Gaming Gutter > Non-Gaming > Programming > Random programs


» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» GG Stuff

Follow us on Twitter!

Get the GG toolbar today (for firefox only)
» Recent Threads
Go to first new post ~ The Official Hash...
11-06-2009 10:56 AM
by mehike
Last post by shadyangelz
Today 01:02 PM
917 Replies, 21,076 Views
Go to first new post + repping if you sign up...
Today 12:36 PM
by Acid
Last post by Acid
Today 01:00 PM
2 Replies, 3 Views
Go to first new post Selling level 92...
01-11-2010 11:41 AM
by mayoarm
Last post by mayoarm
Today 12:45 PM
1 Replies, 56 Views
Go to first new post What are you currently...
09-12-2008 03:16 PM
by Ocean
Last post by FlameSpiritZenon
Today 12:32 PM
2,965 Replies, 23,963 Views
Go to first new post Weed smoking.
07-17-2009 07:42 AM
by rufiomk
Last post by Husky
Today 12:25 PM
184 Replies, 2,323 Views
Reply
 
LinkBack Thread Tools Display Modes

 Neopet Captcha Generator
Old 10-04-2009, 07:40 AM   #1 (permalink)
Full Member

Male sim0n is offline
 
sim0n's Avatar
 
Join Date: May 2009
Location: UK
Age: 18
Posts: 26
GPoints: 251
iTrader: 0 / 0%
sim0n Is Recognizable
Rep Power: 3
Neopet Captcha Generator

An afternoons work...



This program generates an image similar to that you get when buying an item.
It performs the following processes:
  • Randomly selects a background from a group
  • Randomly flips it
  • Randomly selects a neopet image
  • Randomly Scales it
  • Randomly flips it
  • Randomly modifies the colour
  • Draws the neopet onto the background with a random opacity
  • Modifies the brightness of the image
It then performs 2 different algorithms to locate the image, then checks to see if it was correct (Both algorithms have approximately a 90-95% success rate, but the algorithms wernt the aim of this project, so thats fine)

LDP Tends to work slightly better, but usually finds the exact edge of the neopet and so when using these coordinates they may be a little bit off whereas LDPC usually finds the centre (Works on a number of points and averaging them to find the midpoint)

(Blue = LDP; Red = LDPC)
Blue found edge


Blue missed!


Not sure what use this program has other than for testing algorithms on multiple images quickly, but if anybody wants the source just ask and ill clean it up and post it.

download
http://sim0n.net46.net/%5BOCR%5D%20C...0Generator.zip

Click the image in the bottom left to save it, click the label to perform algorithm accuracy check (will break bottom left image)
__________________

  Reply With Quote

 
Old 10-04-2009, 10:31 AM   #2 (permalink)
Banned

Male Backslash is offline
 
Join Date: Oct 2009
Posts: 172
GPoints: 1,940
iTrader: 3 / 100%
Backslash Is Popular
Rep Power: 0
Nice work! This looks very well made.
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 01:05 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.21425200 seconds (100.00% PHP - 0% MySQL) with 21 queries