Neural
Используйте самую быструю нейросеть
detect
def detect(self, image: np.ndarray, conf: float = None) -> Dict[str, List[Tuple[List[float], float]]]:Название
Тип
Описание
img = screen.capture(x1, y1, x2, y2)
result = neural.detect(img)
heads = result['heads']
bodys = result['bodys']
for head in heads:
print(f'Голова - координаты: {head[0]}, уверенность: {head[1]}')
for body in bodys:
print(f'Тело - координаты: {head[0]}, уверенность: {head[1]}'compare_images
def compare_images(self, img1: np.ndarray, img2: np.ndarray, mode: str = "fast") -> float:Название
Тип
Описание
embedding
Название
Тип
Описание
compare_embedding
Название
Тип
Описание
Последнее обновление