Image & video pipelines for human behavior and emotion signals using TaoCore
Project description
taocore-human
Image & video pipelines for human behavior and emotion signals using TaoCore.
Philosophy
This package processes photos and videos into interpretable, bounded claims about behavior and emotion signals. It does not claim to read minds or determine truth about internal states.
Key principles:
- Outputs are "signals" and "patterns", not definitive judgments
- Uncertainty is always explicit
- Non-convergence is meaningful (signals may conflict)
- Conservative by default for human/emotion inference
Installation
# Basic (stub extractors only)
pip install taocore-human
# With image support
pip install taocore-human[image]
# With video support
pip install taocore-human[video]
# With ML models (PyTorch)
pip install taocore-human[ml]
Quick Start
Photo Folder Analysis
from taocore_human import PhotoFolderPipeline
# Process a folder of photos
pipeline = PhotoFolderPipeline("/path/to/photos")
result = pipeline.run()
# Check if interpretation is allowed
if result.interpretation_allowed:
print(result.report.summary)
print(result.report.behavioral_summary)
else:
print("Interpretation declined:", result.rejection_reasons)
print(result.report.structural_summary) # Still available
# Export to JSON
print(pipeline.to_json(result))
Video Interaction Analysis
from taocore_human import VideoInteractionPipeline
# Process a video
pipeline = VideoInteractionPipeline("/path/to/video.mp4")
result = pipeline.run()
# Temporal patterns
print(result.temporal_patterns)
# Report
print(result.report.summary)
Architecture
Media → Feature Extraction → Nodes/Edges → Graph(s)
↓
Metrics (balance/flow/clusters/hubs)
↓
Equilibrium Solver
↓
Decider Rules
↓
Uncertainty-Aware Report
What This System Does NOT Do
- Diagnose mental health or medical conditions
- Produce definitive judgments about personality or intent
- Act as a lie detector or "truth machine"
- Replace human interpretation in sensitive contexts
Components
Nodes
PersonNode- Tracked individual with aggregated featuresFrameNode/WindowNode- Time slices for temporal analysisContextNode- Scene context (lighting, quality, etc.)
Extractors (Pluggable)
FaceExtractor- Face detection and expression signalsPoseExtractor- Body pose estimationGazeExtractor- Attention/gaze estimationSceneExtractor- Scene-level featuresStubExtractor- Random data for testing
Pipelines
PhotoFolderPipeline- Process folder of imagesVideoInteractionPipeline- Process video with temporal analysis
Output Example
{
"interpretation_allowed": true,
"confidence_level": "moderate",
"num_persons_analyzed": 3,
"summary": "Analysis of 3 individuals completed with moderate confidence. Signal patterns show convergent stability.",
"limitations": [
"Expression and emotion signals are probabilistic estimates, not ground truth about internal states."
],
"recommendations": [
"Findings may inform further investigation but should not be treated as definitive.",
"Never use these signals for high-stakes decisions without human oversight."
]
}
License
MIT
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
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
File details
Details for the file taocore_human-0.1.0.tar.gz.
File metadata
- Download URL: taocore_human-0.1.0.tar.gz
- Upload date:
- Size: 135.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
239d4d0be3558a293c802884789d0852050c4a2f73cad9bef4a42d904382df92
|
|
| MD5 |
8dfcc81b7cb4c7e3e87418b147c02c56
|
|
| BLAKE2b-256 |
961b3b3432f93ecaf0f58506ef57c2949aedbcb31382935d8e6fdce78e6050f3
|
File details
Details for the file taocore_human-0.1.0-py3-none-any.whl.
File metadata
- Download URL: taocore_human-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe6c18678c9764cac16ed76ce754e0f582e20f161e9ce44791078908ea5281eb
|
|
| MD5 |
b7f04f8a2454fceedc28d9532dc882b8
|
|
| BLAKE2b-256 |
86dbddfa229f4c3b649668de9c48bf0ecdd5e788138c9e4a6e3b83fa1d974b11
|