
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
python library for Danila
pip install danila-lib
from danila.danila import Danila
class Danila
def text_recognize(self, img):
def rama_classify(self, img):
def rama_detect(self, img):
def rama_cut(self, img):
def text_detect_cut(self, img):
def text_detect(self, img):
class Rama_classify_class
def __init__():
def prepare_img(img : openCV frame): NumPy Array(1,512,512)[0..1]
def work_img(img : openCV frame): Double[0..1] list
def classify(img : openCV frame): Class_im
class Rama_detect_class
def __init__(self, model_path, model_name, yolo_path):
def work_img(self, img_path):
def rama_detect(self, img_path):
class Rama_text_detect_class
def __init__(self, model_path, model_name, yolo_path):
def work_img(self, img_path):
def text_detect(self, img_path):
def draw_text_areas_in_opencv(self, image_text_areas, img):
class Letters_recognize:
def work_image_cut(self, image_text_areas, image_rama_cut, number_length, prod_length, year_length):
def __init__(self):
def make_cuts(self, img_rama_cut, rect_array):
def work_image_cuts(self, number_image_cuts, length):
def work_img_word(self, image_number, letter_number):
def prepare_img_letter(self, image_letter):
def work_img_letter(self, image_initial):
def classify_letter(self, image_letter):
@staticmethod
def get_rect_from_yolo_json(yolo_json):
def __init__(self, xmin=0, xmax=0, ymin=0, ymax=0):
def IoU(self, rect):
def __str__(self):
def intersection(self, rect):
def union(self, rect):
class Class_im(Enum):
rama_no_spring = 0
rama_spring = 1
def __init__(self, dict_text_area):
self.class_im = Class_text(dict_text_area['class'])
self.rect = Rect(...)
class Image_text_areas:
def __init__(self):
def add_area(self, text_area):
def fill_in_with_areas(self, areas):
def correct_intersections(self):
def explore_to_whole_image(self, rama_rect):
FAQs
This is the module for detecting and classifying text on rama pictures
We found that danila-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.