Receipt-scanner

Latest version: v0.3.2

Safety actively analyzes 624049 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

Non Breaking Changes ➖

- Contours can now be at least 10% of the size of the image (previously it was 30%)
- The gaussian blur used to find the contour now has a smaller size

0.3.1

Non Breaking Changes ➖

- The border finder now first filters non-rectangular borders so that the default border left by the other filtering methods always leaves at least one valid border (previously invalid borders were being left as defaults, so the borders weren't valid)

Fixes 🐛

- Now the border finder uses the small borders filter (previously it wasn't using it)

0.3.0

Non Breaking Changes ➖

- Now before the Canny filter the image gets blurred to remove every last possible fake border
- Now, after finding the borders and wrapping the perspective, the image gets immediately resized, before applying blurs and binarization (rather than being filtered and then resized). This helps **a lot** with small images (and it seemed to work a bit better with big images too)
- Now the very small contours get filtered too

Fixes 🐛

- Now contour filtering (specifically big contour filtering and small contour filtering) won't filter the last contour (the smallest for the big contour filter or the largest for the small contour filter) if no other contour is left.

0.2.0

Fixes 🐛

- Images queried through a URL are now loaded correctly (images that used to work OK may break, but it would be weird for them to have worked in the first place).

0.1.0

Breaking Changes ❌

- The border detection has been reworked, so it might be possible that images that used to work no longer do.
- The pre-tesseract run processing has been reworked, so it might be possible that images that used to work no longer do.

Fixes 🐛

- The library now correctly exposes its types
- Now most images can have their borders recognized, even in harsh light conditions.
- Now large images can be recognized correctly.

0.0.2

Additions ➕

- The character set used can now be specified both in the CLI and in the library.

Breaking Changes ❌

- The default character set used has now changed (reduced).

Fixes 🐛

- Now most of the correctly border-identified images can be read, due to a change to one of the numbers of the binarize filter.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.