ImageOCR
ImageOCR is a PHP CAPTCHA recognition library designed to identify CAPTCHA images. It works well with non-overlapping characters and handles slightly overlapping characters with reasonable accuracy. The recognition process follows this pipeline: initialization, grayscale conversion, binarization, noise removal, segmentation, standardization, and recognition. Key features include three binarization modes: fixed threshold, dynamic background-based thresholding with maximum, minimum, and background options. Noise removal supports two methods: isolated spot removal and connected domain removal. Segmentation supports equal-width splitting, connected domain splitting for non-overlapping strings, and a drip algorithm for overlapping characters. Standardization normalizes images to configurable width and height. Debug mode is available to visualize intermediate results. A bundled Docker image provides a web interface for quick experimentation. The library can be installed via Composer (mohuishou/image-ocr) and expose