Image Preprocessing Tool is an interactive web tool for experimenting with different image preprocess techniques used in Optical Character Recognition (OCR) systems.
https://image-preprocessing-tool.netlify.app/
You can apply Simple Thresholding or Adaptive Thresholding. For Simple Thresholding, you can also use Otsuβs Binarization to automatically find the optimal threshold value. More techniques will be added in the future.
- Upload an image of your choice and play with the taskbars
- To download the result, click Download processed image.
- Each method is placed in its own tab. Clicking a tab switches the preprocessing method and displays its related controls.
- Every tab includes a short description of the method, its parameters, and available options.
The app uses OpenCV.js for image processesing directly in the browser
project/
β
βββ index.html # Main web page
βββ style.css # Styles and layout
βββ script.mjs # Core logic and UI interaction
β
βββ methods/
β βββ simpleThreshold.mjs
β βββ adaptiveThresholding.mjs
β
βββ texts/ # Information panels content
β βββ optionsTexts.mjs
β βββ texts.mjs
β
βββ demoPhoto/
β βββ sample-image.jpg # Default demo image
β
βββ README.md
Feel free to open issues or submit pull requests to improve the project. All feedback is welcome!