1 Star 0 Fork 0

Doer / Antivcode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
GPL-2.0

#Antivcode

An identification code validation procedures implement by C++ with boost and libjpeg.

Note: For personal use at present.

##Dependence

####Linux

Suppose you have compiled boost library in /usr/local/boost_1_56_0/ as well as the .a static library are in /usr/local/boost_1_56_0/stage/lib.

If not, you should probably modify the Makefile.

When all of the work is finished,just do following steps:

>> cd ./libjpeg/
>> make
>> cd ../decode/
>> make
>> ./decode

####Windows

  • Open .sln file.
  • Configure include path of boost and libjpeg.
  • Compile libjpeg project first in the solution.
  • Configure attach library folder of boost and libjpeg.
  • Compile decode project.
  • F5 or Ctrl+F5 to run this application.

#Usage

First you should let the program study and generate attribute code database.

To get help information:

>> decode -h
Or
>> decode --help

To study by filenames from ./folder and create a new database named "db" in ./database:

>> decode -syn -d ./folder/ -b ./database/db
Or
>> decode -s -y -n -d ./folder/ -b ./database/db

To study sigle file and append to database by default(./db):

>> decode -s -f simples/studied.jpg

if you want to see binaryzated image, just add -v option.

When finish studying, you can run a test or recognition.

To test a single file:

>> decode -t -f simples/tested.jpg

To test a series of images:

>> decode -t -d test/

Note: test procedure require that file named with a right name.

To recognite a single file:

>> decode -f simples/recognited.jpg

To recognite a series of files:

>> decode -d simples/

#Author

Micooz

November 30, 2014 in Chengdu University of Technology.

Contact me by e-mail: micooz@hotmail.com

Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

C++使用boost和libjpeg库实现的验证码识别程序,目前是方便个人使用 展开 收起
GPL-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/Doer/Antivcode.git
git@gitee.com:Doer/Antivcode.git
Doer
Antivcode
Antivcode
master

搜索帮助