Skip to main content

Easy-to-use model inference for the digital humanities

Project description

Cognitron

Easy-to-use model inference for the digital humanities.

The library's central goals are:

* ease of use, esp. in a marimo notebook context
* maintainability by reduction of dependencies

Installation

pip install cognitron

Usage

# detect all faces in an image.
import cognitron as cg
im = cg.Image.open("path/to/image")
pipeline = cg.pipeline("face-detection")
faces = pipeline(im).top
print(faces)

License

Cognitron is licensed under GPLv3. See the LICENSE file.

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

cognitron-0.0.1.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

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

cognitron-0.0.1-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file cognitron-0.0.1.tar.gz.

File metadata

  • Download URL: cognitron-0.0.1.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cognitron-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c753370a23e4a0698ecdf6ecf2513eb6451bc8fb64958c5af5cfd7e671b43a1
MD5 c5afdf27309ac855c4347ebbabb82f00
BLAKE2b-256 97a941730392ee724425f07fbfb04912ead72f0ea2dffc14cdc7d2be9498a0d4

See more details on using hashes here.

File details

Details for the file cognitron-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cognitron-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cognitron-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3dee4eb08d12a214eb650c828e8ca425ebdf05a00d7532a45a4f570729e1eb5
MD5 e4c137ade1efc3eeb05b61a5aff42f79
BLAKE2b-256 9b232c304593605d37265a30eb0ea788b54571b0d49985d5188a0c924d6597b1

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