From 85e66a9cdf50c0b4a4d09ed262da06d813d4e844 Mon Sep 17 00:00:00 2001 From: Mark Bailey Date: Sat, 26 Oct 2024 19:29:15 -0400 Subject: [PATCH] chore: remove personal notes --- notes/notes.md | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 notes/notes.md diff --git a/notes/notes.md b/notes/notes.md deleted file mode 100644 index 14f401c..0000000 --- a/notes/notes.md +++ /dev/null @@ -1,30 +0,0 @@ -# Image Pre-processing - -1. Invert image - Tesseract 3.0 only? -2. Rescale -3. Binarize -4. Remove noise -5. Dilation and erosion -6. Rotation and deskewing -7. Remove borders -8. Missing borders -9. Transparency and alpha channel - -## Invert Image - -```python -inverted_image = cv2.bitwise_not(image) -cv2.imwrite('tmp/inverted_image.jpg', inverted_image) -``` - -## Rescale - -## Binarize - -1. Grayscale image first. -2. Convert to black and white. - * Adjust threshold values, may require testing. - -## Remove Noise - -