Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.