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
Metadata
Release files for danila 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| danila-1.0.0.tar.gz | 3.4 kB | Without provenance | Details for danila-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| danila-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for danila-1.0.0-py3-none-any.whl |
Total release size: 5.9 kB
Release files / danila-1.0.0.tar.gz
| Download URL | danila-1.0.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d69ffd04a23ba6852f0e6fa43a15d2c45f90d24a41a5da424ddd9ae313951f7a
|
|
BLAKE2b-256 checksum How to use checksums |
e423a79db9290d916beb1ce53714f55e42d4b1bafdb5bfebde44675fc10e43dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Release files / danila-1.0.0-py3-none-any.whl
| Download URL | danila-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc43610c4f654cf403d48e904198c93dd8c17ae2d420d6bab1986f9faa85064d
|
|
BLAKE2b-256 checksum How to use checksums |
f071b92c4d8adef0650b1c292b03e30c6fc87492200b4ead98f5c0d9e80fab2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Security for danila 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.