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

Uploaded Python 3

File details

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

File metadata

  • Download URL: catdog-1.0.0.tar.gz
  • Upload date:
  • Size: 1.7 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.0.tar.gz
Algorithm Hash digest
SHA256 94c5187517c35c629becd6e5e8cfe870b3017fc8e3cdc53e6ba3cc87c8849a38
MD5 4ea570c9b7a9119d6a13682265d8a19f
BLAKE2b-256 50391a3a9f80e56186897dcb62a2f5d94db1e7805c9f6a89480dbcbfdd4149d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: catdog-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 475f8a2ba907c8d3518df2583f6808efd46c28cae6a8f9b10406aad4744041be
MD5 35f459941bfdd801033d7b487932f2db
BLAKE2b-256 c1c7d55581c427a19daadae0427d9bec2d37ba925356b63c5672384b9603fc10

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