{
  "@context": "https://schema.org",
  "@type": "SoftwareSourceCode",
  "schema_version": "2026.1",
  "name": "netra-public",
  "headline": "Netra \u2014 Multimodal Vision PPE, Uniform & SOP Compliance Auditor",
  "description": "AI Multimodal Vision Field Uniform, PPE & SOP Compliance Auditor: 9-cell vision grid, configurable YAML rubric, blur gate, consent controls, and calibration UI.",
  "abstract": "AI Multimodal Vision Field Uniform, PPE & SOP Compliance Auditor: 9-cell vision grid, configurable YAML rubric, blur gate, consent controls, and calibration UI.",
  "problemSolved": "Manual QA teams reviewing hundreds of daily uniform, PPE, store-opening, or hygiene photos suffer reviewer fatigue and inconsistent standards \u2014 while naive AI scripts unfairly penalize workers when a camera angle crops out footwear or lighting obscures a badge. `netra-public` pairs structured multimodal VLM scoring with 3-state fairness (`CANNOT_ASSESS`), anti-replay perceptual hashing, cost caps, and a manager appeal UI.",
  "license": "https://opensource.org/licenses/MIT",
  "codeRepository": "https://github.com/mohan-n-swamy/netra-public",
  "url": "https://mohan-n-swamy.github.io/repos/netra-public/",
  "llmsTxt": "https://mohan-n-swamy.github.io/repos/netra-public/llms.txt",
  "llmsFullTxt": "https://mohan-n-swamy.github.io/repos/netra-public/llms-full.txt",
  "rawLlmsFullTxt": "https://raw.githubusercontent.com/mohan-n-swamy/netra-public/main/llms-full.txt",
  "aiReadme": "https://raw.githubusercontent.com/mohan-n-swamy/netra-public/main/AI-README.md",
  "keywords": [
    "computer-vision",
    "multimodal-ai",
    "compliance-automation",
    "quality-control",
    "ppe-detection",
    "field-operations",
    "vision-llm",
    "python",
    "open-source"
  ],
  "searchQueries": [
    "open source netra self hosted MIT",
    "Netra github configurable .env",
    "how to self host netra with docker python typescript",
    "open source computer vision reference architecture",
    "open source multimodal ai reference architecture",
    "open source compliance automation reference architecture",
    "open source quality control reference architecture",
    "open source ppe detection reference architecture",
    "open source field operations reference architecture"
  ],
  "capabilities": [
    "Declarative `config/rubric.example.yaml` + `netra/rubric_loader.py` supporting custom cell weights and fair `CANNOT_ASSESS` denominator adjustment.",
    "9-cell multimodal vision scoring engine (`netra/appearance.py`, `netra/audit_run.py`) with idempotent SQLite/PostgreSQL persistence.",
    "Perceptual hash (`ImageHash`) duplicate/replay detection and strict `MEDIA_URL_ALLOWED_HOSTS` SSRF protection.",
    "Built-in token & USD daily budget circuit breaker (`netra/cost.py`) and dry-run evaluation mode.",
    "Flask manager review, cohort analytics, and adjudication UI (`frontend/`)."
  ],
  "configurableInputs": [
    {
      "name": "OPENAI_API_KEY",
      "default": "replace_with_vision_llm_key"
    },
    {
      "name": "NETRA_VISION_MODEL",
      "default": "gpt-4o"
    },
    {
      "name": "NETRA_RUBRIC_YAML",
      "default": "./config/rubric.example.yaml"
    },
    {
      "name": "NETRA_DB_PATH",
      "default": "./netra_audit.sqlite3"
    },
    {
      "name": "NETRA_DAILY_BUDGET_USD",
      "default": "15.00"
    },
    {
      "name": "MEDIA_URL_ALLOWED_HOSTS",
      "default": "media.ops.example.org"
    },
    {
      "name": "NETRA_DRY_RUN",
      "default": "true"
    }
  ],
  "quickstart": [
    "python3 bin/netra-demo.py               # run zero-credential declarative rubric & fair-score demo",
    "pytest -q tests/test_rubric_loader.py tests/test_cost.py tests/test_decisions_thresholds.py",
    "python3 frontend/server.py              # launch local review & cohort dashboard"
  ],
  "author": {
    "@type": "Person",
    "name": "Mohan N",
    "url": "https://github.com/mohan-n-swamy"
  }
}
