{"id":19661286,"url":"https://github.com/notai-tech/keras-craft","last_synced_at":"2025-04-28T20:32:32.730Z","repository":{"id":39730853,"uuid":"235775797","full_name":"notAI-tech/keras-craft","owner":"notAI-tech","description":"Extremely easy to use Text Detection module with CRAFT pre-trained model.","archived":false,"fork":false,"pushed_at":"2023-03-24T23:26:54.000Z","size":27,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:51:14.404Z","etag":null,"topics":["craft","cv","east","keras","scene-text-detection","scene-text-recognition","tensorflow","text-detection","text-recognition"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notAI-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-23T10:53:44.000Z","updated_at":"2023-09-04T19:02:15.000Z","dependencies_parsed_at":"2022-08-28T06:40:29.939Z","dependency_job_id":null,"html_url":"https://github.com/notAI-tech/keras-craft","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2Fkeras-craft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2Fkeras-craft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2Fkeras-craft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2Fkeras-craft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notAI-tech","download_url":"https://codeload.github.com/notAI-tech/keras-craft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251383998,"owners_count":21580983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["craft","cv","east","keras","scene-text-detection","scene-text-recognition","tensorflow","text-detection","text-recognition"],"created_at":"2024-11-11T16:06:50.762Z","updated_at":"2025-04-28T20:32:32.399Z","avatar_url":"https://github.com/notAI-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keras-craft\nExtremely easy to use Text Detection module with CRAFT pre-trained model.\n\nkeras-craft aims to be production ready and supports features like batch inference (auto batching for images of different size) and tensorflow serving.\n\n# Installation\n\n\n\n```pip install git+https://github.com/notAI-tech/keras-craft``` (the entire library)\n\n\n# Usage (craft_client)\n```bash\ndocker run -p 8500:8500 bedapudi6788/keras-craft:generic-english\n```\n```python\nimport craft_client\n\nimage_paths = [image_1, image_2, ..]\nall_boxes = craft_client.detect(image_paths)\n\n# Visualization\nfor image_path, boxes in zip(image_paths):\n  image_with_boxes_path = craft_client.draw_boxes_on_image(image_path, boxes)\n  print(image_with_boxes_path)\n```\n\n# Usage (keras_craft)\n```python\nimport keras_craft\n\ndetector = keras_craft.Detector()\n\nimage_paths = [image_1, image_2, ..]\nall_boxes = detector.detect(image_paths)\n\n# Visualization\nfor image_path, boxes in zip(image_paths):\n  image_with_boxes_path = keras_craft.draw_boxes_on_image(image_path, boxes)\n  print(image_with_boxes_path)\n```\n\n# Example image_with_boxes\n\n![](https://i.imgur.com/EtGvyCz.png)\n\n# To Do:\n\n1. Train different models for different use-cases. (various languages ..)\n2. Experiment with smaller model(s)\n\n\n\n**Credit for the core keras model, generic-english checkpoint .. goes to [Fausto Morales](https://github.com/faustomorales/keras-ocr) and Clova.ai**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotai-tech%2Fkeras-craft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotai-tech%2Fkeras-craft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotai-tech%2Fkeras-craft/lists"}