How to create your own recognition module (API)

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
This a step by step instruction how to create your own recognition module.

  1. Create project "Class library" (which produces a dll as an output). Compile it for .NET FrameWork 3.5
  2. Add to the references interfaceslibrary.dll from ZennoPoster's folder
  3. Create a class inherited from ICommonInterface
    C#:
        public class AntiCaptcha : ICommonInterface
        {
            #region ICommonInterface Members
            public string RecognizeCaptcha(Bitmap bmp)
            {
                return RecognizeCaptcha(bmp, null);
            }
    
            public string RecognizeCaptcha(Bitmap bmp, object parameters)
            {
                return string.Empty;
            }
            #endregion
        }
  4. Put result DLL in the ZennoPoster folder.
 
Последнее редактирование:
  • Спасибо
Реакции: spyder

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)