Skip to main content

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 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

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

taocore_human-0.2.0.tar.gz (194.7 kB view details)

Uploaded Source

Built Distribution

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

taocore_human-0.2.0-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file taocore_human-0.2.0.tar.gz.

File metadata

  • Download URL: taocore_human-0.2.0.tar.gz
  • Upload date:
  • Size: 194.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for taocore_human-0.2.0.tar.gz
Algorithm Hash digest
SHA256 61f5ccec5f7e9f2e77bee017808301275d10155ac140e5cfe00c5b99c4d1b55e
MD5 4d2a56c6858ddea58b1aa35041153e60
BLAKE2b-256 9007a4b82bb4866c70bf3030f9a4e5c8d8023ed2db63ef0e34e0df8d7bf32c8a

See more details on using hashes here.

File details

Details for the file taocore_human-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: taocore_human-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for taocore_human-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6dcac5de8a7e5fdffd7f1b58492f5a4c84c89b9723996b2b6c40e452cce954c
MD5 5ff32b0c66f0f55fa182174f9708733d
BLAKE2b-256 12104c3f7ec346c0a640ba9bf1a9b73dfb4a6764968316f2155fd26e58e687a9

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