Skip to main content

A simple library for cat and dog image classification

Project description

CatDog

Простая библиотека для определения кошек и собак на изображениях.

Установка

Установка через pip:

pip install catdog

Использование

Простой способ:

import catdog
result = catdog.predict("path/to/image.jpg")
print(result)  # "cat" или "dog"

Расширенный способ:

image = catdog.CatDogImage("path/to/image.jpg")
print(image.is_cat)  # True/False
print(image.is_dog)  # True/False
print(image.confidence)  # Уверенность в процентах
print(image)  # Полное описание

Лицензия

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

catdog-1.0.4.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

catdog-1.0.4-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file catdog-1.0.4.tar.gz.

File metadata

  • Download URL: catdog-1.0.4.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for catdog-1.0.4.tar.gz
Algorithm Hash digest
SHA256 30cb1b96420d3ffd35747266e64da974a2accff17436c5ea31299b4077a2a631
MD5 2741e180274785dd6c37242b0e1f4531
BLAKE2b-256 4609d8dadc58855949b7ce9220b4c1f37b03e3a00ec4cd2a67759632ad280a74

See more details on using hashes here.

File details

Details for the file catdog-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: catdog-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for catdog-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2ea1516dcb1f3c5e359cb1e3c0b015e9d0d94cca9a4efdfeeb64dc0e5ee576c5
MD5 157e6aaff811b5872c3e126c8ec41a28
BLAKE2b-256 fa1ffe9b0a63c7a1c6dddca80a2c385653d4a4216dfc53d75e819ce4ae9a304c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page