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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cognitron-0.0.1-py3-none-any.whl
(54.7 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c753370a23e4a0698ecdf6ecf2513eb6451bc8fb64958c5af5cfd7e671b43a1
|
|
| MD5 |
c5afdf27309ac855c4347ebbabb82f00
|
|
| BLAKE2b-256 |
97a941730392ee724425f07fbfb04912ead72f0ea2dffc14cdc7d2be9498a0d4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3dee4eb08d12a214eb650c828e8ca425ebdf05a00d7532a45a4f570729e1eb5
|
|
| MD5 |
e4c137ade1efc3eeb05b61a5aff42f79
|
|
| BLAKE2b-256 |
9b232c304593605d37265a30eb0ea788b54571b0d49985d5188a0c924d6597b1
|