Skip to main content

This is the module for detecting and classifying text on rama pictures

Project description

To install project made

git clone
pip install -r requirements.txt

All user methods are in

Danila class

makes object and loads all neuro models

danila = Danila()

returns string - class of rama using CNN network

def rama_classify(self, image_path)

returns image_path in danilav1 root with drawn rectangle and text - rama and its class

def rama_detect(self, image_path)

returns image_path in danilav1 root with cut_rama

def rama_cut(self, image_path)

returns image-path of cut rama with drawn text areas

def text_detect_cut(self, image_path)

returns image-path of image with drawn text areas

def text_detect_cut(self, image_path)

scripts illustrates methods using

demo_1
demo_2
demo_3
demo_4
demo_5

to start work you should

add directory yolo
cd yolo/
git clone https://github.com/ultralytics/yolov5.git

you should paste directory models just in root

https://disk.yandex.ru/client/disk/%D0%9A%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%20NUFDR0019114/%D0%A0%D0%90%D0%9C%D0%90

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

danila-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

danila-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file danila-1.0.0.tar.gz.

File metadata

  • Download URL: danila-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for danila-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d69ffd04a23ba6852f0e6fa43a15d2c45f90d24a41a5da424ddd9ae313951f7a
MD5 af19e3aeaee6f36207ba399b85e76334
BLAKE2b-256 e423a79db9290d916beb1ce53714f55e42d4b1bafdb5bfebde44675fc10e43dd

See more details on using hashes here.

File details

Details for the file danila-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: danila-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for danila-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc43610c4f654cf403d48e904198c93dd8c17ae2d420d6bab1986f9faa85064d
MD5 137df5ed9309e2244d3bb0b8141e9683
BLAKE2b-256 f071b92c4d8adef0650b1c292b03e30c6fc87492200b4ead98f5c0d9e80fab2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page