Craft-text-detector

Latest version: v0.4.3

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

Scan your dependencies

Page 1 of 4

0.4.3

What's Changed
* Enable package to load model from local path by TanjaBayer in https://github.com/fcakyon/craft-text-detector/pull/53

New Contributors
* TanjaBayer made their first contribution in https://github.com/fcakyon/craft-text-detector/pull/53

**Full Changelog**: https://github.com/fcakyon/craft-text-detector/compare/0.4.2...0.4.3

0.4.2

What's Changed
* fix opencv version by fcakyon in https://github.com/fcakyon/craft-text-detector/pull/48


**Full Changelog**: https://github.com/fcakyon/craft-text-detector/compare/0.4.1...0.4.2

0.4.1

What's Changed
* fix crop export by fcakyon in https://github.com/fcakyon/craft-text-detector/pull/45


**Full Changelog**: https://github.com/fcakyon/craft-text-detector/compare/0.4.0...0.4.1

0.4.0

enhancement
- fix boxes outside image boundaries (37)

breaking changes
- drop conda support, update python version (38)

0.3.5

- Rebuild conda binaries.

0.3.4

- add support for PIL and numpy images in addition to filepath. https://github.com/fcakyon/craft-text-detector/pull/28

python
from PIL import Image
import numpy

can be filepath, PIL image or numpy array
image = 'figures/idcard.png'
image = Image.open("figures/idcard.png")
image = numpy.array(Image.open("figures/idcard.png"))

apply craft text detection
prediction_result = craft.detect_text(image)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.