Open Access Paper
24 May 2022 Configurable image recognition framework design based on KNN and bit-based similarity model
Gang Lin, Yanchun Liang, Yonglin Chen, Wenbo Pan
Author Affiliations +
Proceedings Volume 12260, International Conference on Computer Application and Information Security (ICCAIS 2021); 122601I (2022) https://doi.org/10.1117/12.2637494
Event: International Conference on Computer Application and Information Security (ICCAIS 2021), 2021, Wuhan, China
Abstract
CAPTCHAs are widely utilized on the Internet to partially protect against computer attacks, and text-based CAPTCHAs are commonly used. In order to make the more flexible attack, this paper provides a framework with configurable options based on k-NN, including three major parts: preprocessing the binary image, building standard library and recognizing image. The standard library is built from training dataset, where the third part can be an option to drop out some characters with a high similarity, and the library is used for testing dataset. A bit-based similarity model is proposed, where "and" and "or" bit operations are executed, and the result is the ratio of both operations. Finally, the framework is applied into four typical scenarios, MNIST handwriting database, CAPTCHAs built by the CAPTCHA generator, online CAPTCHAs of CNKI website, and CAPTCHAs within open source PHP DedeCMS, the average classification accuracy is 97.05%. As a result, the model is simple but effective, the framework can work well for text-based CAPTCHAs and handwritten numbers, which may make associated websites pay more attention to current authentication mechanism, and it offers flexibility to cover more algorithms and application scenarios by implementing different logics of preprocessing according to defined APIs.
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Gang Lin, Yanchun Liang, Yonglin Chen, and Wenbo Pan "Configurable image recognition framework design based on KNN and bit-based similarity model", Proc. SPIE 12260, International Conference on Computer Application and Information Security (ICCAIS 2021), 122601I (24 May 2022); https://doi.org/10.1117/12.2637494
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Binary data

Image segmentation

Expectation maximization algorithms

Detection and tracking algorithms

Databases

Target recognition

Image processing

Back to Top