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.2.tar.gz (1.9 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.2-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: catdog-1.0.2.tar.gz
  • Upload date:
  • Size: 1.9 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.2.tar.gz
Algorithm Hash digest
SHA256 73945c76726c045ef8814ee3596fc8ef260d2000dfbfcfc043d426d7dfb0303d
MD5 c9034e0309dd8001c09a54d509b09540
BLAKE2b-256 2f037944cb29ec09e6c24d766673619e5d75314c0231dbefb90f45c5f113c575

See more details on using hashes here.

File details

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

File metadata

  • Download URL: catdog-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fefaff12ba3a317a6d2acbde4fed946f6938a93b8aed98fbe958faa2f9ef79c
MD5 52ed1fcb62f34109f5af8f29a14ec31f
BLAKE2b-256 039bc082d977032982a5cb06ce0cc98bcdc769cabd8412b52d4f357868ff2e3a

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