Gaia Captcha (Lake Kindred)
Is there a way to remove or even bypass it? I'm not an expert on coding or whatever but I just thought of it and it would be really helpful to speed up tree farming.
Stapled wrote:Nah fam
def compImg(self, bot, update):
starting = 100.0
outfiturl = urlopen(str(self.outfit))
outfit_img = io.BytesIO(outfiturl.read())
outfit = ColorThief(outfit_img)
# get the dominant color
dominant_color = outfit.get_color(quality=1)
print("dominant outfit color:", dominant_color)
print("URL:", str(self.outfit))
index = 0
for item in self.thumbfile:
thumburl = urlopen("http://s.cdn.gaiaonline.com/images/thumbnails/" + str(item))
thumb_img = io.BytesIO(thumburl.read())
thumbnail = ColorThief(thumb_img)
dominant_color1 = thumbnail.get_color(quality=1)
print("Thumbnail color:", dominant_color1)
print("URL: http://s.cdn.gaiaonline.com/images/thumbnails/" + str(item))
color1_rgb = sRGBColor(dominant_color[0],dominant_color[1],dominant_color[2])
color2_rgb = sRGBColor(dominant_color1[0],dominant_color1[1],dominant_color1[2])
# Convert from RGB to Lab Color Space
color1_lab = convert_color(color1_rgb, LabColor)
# Convert from RGB to Lab Color Space
color2_lab = convert_color(color2_rgb, LabColor)
# Find the color difference
delta_e = delta_e_cie2000(color1_lab, color2_lab)
print(str(index), "- Delta E: ", str(delta_e))
if delta_e <= starting:
starting = delta_e
self.answer = str(index)
print("Current Answer: ", str(self.answer))
index += 1
[/2][/1][/0][/2][/1][/0]Kingz V wrote:im p sure color matching was enough to solve them with reasonable accuracy.
def compImg(self, bot, update):
starting = 100.0
outfiturl = urlopen(str(self.outfit))
outfit_img = io.BytesIO(outfiturl.read())
outfit = ColorThief(outfit_img)
# get the dominant color
dominant_color = outfit.get_color(quality=1)
print("dominant outfit color:", dominant_color)
print("URL:", str(self.outfit))
index = 0
for item in self.thumbfile:
thumburl = urlopen("http://s.cdn.gaiaonline.com/images/thumbnails/" + str(item))
thumb_img = io.BytesIO(thumburl.read())
thumbnail = ColorThief(thumb_img)
dominant_color1 = thumbnail.get_color(quality=1)
print("Thumbnail color:", dominant_color1)
print("URL: http://s.cdn.gaiaonline.com/images/thumbnails/" + str(item))
color1_rgb = sRGBColor(dominant_color[0],dominant_color[1],dominant_color[2])
color2_rgb = sRGBColor(dominant_color1[0],dominant_color1[1],dominant_color1[2])
# Convert from RGB to Lab Color Space
color1_lab = convert_color(color1_rgb, LabColor)
# Convert from RGB to Lab Color Space
color2_lab = convert_color(color2_rgb, LabColor)
# Find the color difference
delta_e = delta_e_cie2000(color1_lab, color2_lab)
print(str(index), "- Delta E: ", str(delta_e))
if delta_e <= starting:
starting = delta_e
self.answer = str(index)
print("Current Answer: ", str(self.answer))
index += 1
[/2][/1][/0][/2][/1][/0]
there are a few ppl around here with private kindred bots iirc.
hope crayola isn't too mad at me for sharing this bit, since he wrote it.
It's a Python method, it'll require programming knowledge with Python. That or the full script is released for use.xyecetus wrote:How do I make use of this? Sorry for the noobish question, I have no programming background whatsoever.
OoT: Will I get banned when I use CE's speed hack on LK? I was just wondering.
