You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

danila

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danila

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

1.0.0
pipPyPI
Maintainers
1

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

Keywords

rama detect machine-learning computer-vision

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts