Skip to main content

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 features
  • FrameNode / WindowNode - Time slices for temporal analysis
  • ContextNode - Scene context (lighting, quality, etc.)

Extractors (Pluggable)

  • FaceExtractor - Face detection and expression signals
  • PoseExtractor - Body pose estimation
  • GazeExtractor - Attention/gaze estimation
  • SceneExtractor - Scene-level features
  • StubExtractor - Random data for testing

Pipelines

  • PhotoFolderPipeline - Process folder of images
  • VideoInteractionPipeline - 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

CLI Quick Start

  1. Install editable (dev):
cd /Users/dadatoto/taocore-human
python -m pip install -e .
  1. Analyze a folder of photos:
taocore-human photo-folder /path/to/photos
  1. Analyze a video:
taocore-human video /path/to/video.mp4
  1. Save JSON output to a file:
taocore-human photo-folder /path/to/photos --output /tmp/taocore_result.json

Metadata

Release files for taocore-human 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taocore-human 0.3.0
File Size Uploaded Provenance
taocore_human-0.3.0.tar.gz 195.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for taocore-human 0.3.0
File Interpreter ABI Platform
taocore_human-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 232.6 kB

Release files / taocore_human-0.3.0.tar.gz

Download URL taocore_human-0.3.0.tar.gz
Size 195.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c2733fc55057f4fc41fa8431a2e2927d9ae545e0240b1fea5be8159f285c0a7
BLAKE2b-256 checksum
How to use checksums
4137b350ae6074a353a4e863b08d78fa573cb6389bfebc66f1bac87c0ecdf9cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / taocore_human-0.3.0-py3-none-any.whl

Download URL taocore_human-0.3.0-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b43adc6e51be1d7e2cafb41e92b2d0ac35c8ebd01e4c585a5b44014c8c20f477
BLAKE2b-256 checksum
How to use checksums
d8631fb940d7c2219ad2cc6fab0beba63ade9f334367a65c9d595082863d02a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for taocore-human 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page