CRAFT: Character-Region Awareness For Text detection
CRAFT is a multilingual text detection model. The original implementation is located at
https://github.com/clovaai/CRAFT-pytorch
. This repo is only compatible
with the
Hezar
package (
>=v0.40.0
).
Usage
pip install hezar[vision]
from hezar.models import Model
from hezar.utils import load_image, draw_boxes, show_image
model = Model.load("hezarai/CRAFT", device="cuda")
image = load_image("../assets/text_detection_example.jpg")
outputs = model.predict(image)
result_image = draw_boxes(image, outputs[0]["boxes"])
show_image(result_image, "text_detected")
Runs of hezarai CRAFT on huggingface.co
850
Total runs
17
24-hour runs
77
3-day runs
260
7-day runs
-361
30-day runs
More Information About CRAFT huggingface.co Model
CRAFT huggingface.co
CRAFT huggingface.co is an AI model on huggingface.co that provides CRAFT's model effect (), which can be used instantly with this hezarai CRAFT model. huggingface.co supports a free trial of the CRAFT model, and also provides paid use of the CRAFT. Support call CRAFT model through api, including Node.js, Python, http.
CRAFT huggingface.co is an online trial and call api platform, which integrates CRAFT's modeling effects, including api services, and provides a free online trial of CRAFT, you can try CRAFT online for free by clicking the link below.
CRAFT is an open source model from GitHub that offers a free installation service, and any user can find CRAFT on GitHub to install. At the same time, huggingface.co provides the effect of CRAFT install, users can directly use CRAFT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.