Projects tagged ‘captcha’ and ‘image’


[6 total ]

8 Users

Django Simple CaptchaAboutDjango Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form. UsageSample view: from django ... [More] import forms from captcha.fields import CaptchaField from django.shortcuts import render_to_response class CaptchaTestForm(forms.Form): myfield = AnyOtherField() captcha = CaptchaField() """ # or, as a ModelForm: class CaptchaTestModelForm(forms.ModelForm): captcha = CaptchaField() class Meta: model = MyModel """ def home(request): if request.POST: form = CaptchaTestForm(request.POST) # Validate the form: the captcha field will automatically # check the input if form.is_valid(): human = True else: form = CaptchaTestForm() return render_to_response('base.html',locals()) FeaturesVery simple to setup and deploy, yet very configurable Can use custom challenges (e.g. random chars, simple maths, dictionary word, ...) Custom generators, noise and filter functions alter the look of the generated image Supports text-to-speech audio output of the challenge text, for improved accessibility RequirementsDjango 1.0+ A fairly recent version of the Python Imaging Library (PIL) compiled with FreeType support Flite is required for text-to-speech (audio) output, but not mandatory InstallationDownload the 'captcha' application and put it anywhere in your Python path (or using setuptools: sudo easy_install django-simple-captcha) Add 'captcha' to the INSTALLED_APPS in your settings.py Run manage.py syncdb to create the required database tables Add an entry to your urls.py: urlpatterns += patterns('', url(r'^captcha/', include('captcha.urls')), )ConfigurationSee CaptchaConfiguration for details on available configuration settings. GeneratorsSee CaptchaGenerators for a list of available challenge generator functions. .gadget-title { margin-bottom: 2px; } function resizeIframeHandler(opt_height) { var elem = document.getElementById(this.f); if (!elem) return; if (!opt_height) { elem.style.height = undefined; } else { opt_height = Math.max(10, opt_height); elem.style.height = opt_height + 'px'; } } gadgets.rpc.register("resize_iframe", resizeIframeHandler); gadgets.rpc.register('set_title', function(title) { var elem = document.getElementById(this.f + '_title'); if (elem) { elem.innerHTML = gadgets.util.escape(title); } }); [Less]
Created 11 months ago.

0 Users

It's a simple conversor from img to html. It was coded using php I coded that just for fun, but it could be used as a captcha system because the image is hidden and embeded in the web page's html code.
Created 10 months ago.

0 Users

PHP ImagePHP Image is an image class framework to help create images with PHP and GD2. Pretty much any common task is achievable through the use of simple plugins. The code is PHP 5 only, it is ... [More] extensively unit tested, and it's completely free. A simple thumbnail exampleCreating a thumbnail of an image is very easy indeed. $image = new Image("image.jpg"); $image->attach(new image_fx_resize(200)); $image->imagePng();A simple CAPTCHA exampleCreating a captcha is also straightforward. $image = new Image(); $image->createImageTrueColor(206,96,"FF0000"); $captcha = new image_draw_captcha("captcha"); $captcha->addTTFFont("fonts/arial.ttf"); $image->attach($captcha); $image->imagePng(); [Less]
Created 11 months ago.

0 Users

You might have seen this on PHP site with free scripts but not many on Java side. I am able to create something in GWT which might help others to include in their project. It will save your time and ... [More] add little security to your application. Please check captcha.war file and upload into Tomcat 5 or 6 servlet container. Eclipse base source code is available for download. You have to import it in Eclipse way you do it for any eclipse base project. I want to add sound that will read code if one can't read for any reason.. Thanks, Nehul [Less]
Created 11 months ago.

0 Users

В процессе серфинга часто попадаются сайты, на которых для совершения каких-либо действий требуется ввести ... [More] число/текст, изображенные на картинке. Например, для скачивания файлов с rapidshare.de, или для отправки СМС на мобильные телефоны билайна с сайта beeonline.ru ... Было бы здорово иметь сервис, автоматически заносящий текст в соответствующие поля форм. Как я себе это представляю? Сервис состоит из двух частей - клиентской и серверной. Клиентская часть - это незаметный виджет для Оперы, расширение для Firefox или ActiveX для IE. Если в браузере в данный момент открыта страница, занесенная в таблицу доступных для распознавания, то расширение пересылает картинку на свой веб-сервис (серверная часть) и получает текстовый ответ, который автоматически подставляет в соответствующее поле ввода. Таблица доступных для распознавания страниц хранится на сервере, а клиенты периодически синхронизируют с ней свои локальные копии. Если же страницы в таблице нет, а картинка для распознавания на ней присутствует, то щелкнув по соответствующей кнопке клиентской части можно отправить запрос на добавление страницы в список распознаваемых. Наиболее популярные запросы получают свой OCR (Optical Character Recognition) движок быстрее всего. Поскольку OCR-часть полностью хранится на сервере, это позволяет 1.) оперативно реагировать на изменения в структуре картинок и т.п. 2.) гибко изменять правила пользования таким веб-сервисом ;-) __________________________________________________ Соответственно, каждый участник проекта может принять участие в разработке одной из пяти частей: 1. Серверное web-приложение (Perl) 2. OCR-компоненты 3. Active-X для MSIE(C++) 4. Extension для Firefox 5. Widget для Opera На 18.12.2006 в проекте уже пять участников: - Александр Котов, гр.5538 - Владимир Лоторейчик, гр.5539 - Андрей Жданов, гр.5539 - Николай Красильников, гр.5538 - Александр Кузнецов, гр.5539 Полезные ссылки: - http://code.google.com/p/kott-ocr/ - Сайт проекта - http://en.wikipedia.org/wiki/CAPTCHA - теоретическая информация по OCR - http://www.captcha.ru/ - теоретическая информация по OCR - http://my.opera.com/community/dev/widgets/ - как делать виджеты для Opera - http://developer.mozilla.org/en/docs/Extensions - как делать экстеншны для Firefox - http://www.codenet.ru/progr/visualc/ieplugin.php - как писать плагины к IE [Less]
Created 11 months ago.

0 Users

Php AUdio Captcha is a PHP program that creates Audio CAPTCHA .
Created 11 months ago.