This is the module for detecting and classifying text on rama pictures
Project description
danila_lib
python library for Danila
To install project made
pip install danila-lib
To use in your project
from danila.danila import Danila
All use methods are in
class Danila
returns string - class of rama using CNN network
img - openCV frame
def rama_classify(self, img):
additional classes
neuro-model classe
in package data/neuro there is module Rama_classify_class
class Rama_classify_class
reads CNN taught model and includes it in class example
def __init__():
makes NumPy Array(1,512,512) of doubles[0..1] from openCV image - make it 512-512 and grey
def prepare_img(img : openCV frame): NumPy Array(1,512,512)[0..1]
classify openCV img with CNN, returns list with double[0..1] values
def work_img(img : openCV frame): Double[0..1] list
classify openCV img with CNN, returns Class_im
def classify(img : openCV frame): Class_im
result classes
in package data/result Class_im
class Class_im(Enum):
rama_no_spring = 0
rama_spring = 1
exapmles of using you can find
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
danila-lib-1.1.0.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file danila-lib-1.1.0.tar.gz.
File metadata
- Download URL: danila-lib-1.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba6e5912a4cd9ee7f0cea357ffe7a3663c74084512dfd2eecbd7d2c54c0b8e2b
|
|
| MD5 |
8bbe4b03747290d007ee9d6885a8cd05
|
|
| BLAKE2b-256 |
59412d5182339d2fb1679d6154acce6bb78f60c4e2787160347c61535e46f5ae
|
File details
Details for the file danila_lib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: danila_lib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04f07e67db5aa4f1d827000472f759b00ea8cc7cba298db9b9132f0fa565298c
|
|
| MD5 |
7bb2be64d33a27db1ee2ae3dfcde4c85
|
|
| BLAKE2b-256 |
72ce51c06cc3d55aebc5ea15c1c3fad040d152ea700683802b1a62811c3ac701
|