Skip to content

ForensicLens v1.2.0 — Batch Directory Scanning

Choose a tag to compare

@Deipedra34 Deipedra34 released this 29 Aug 18:56
· 10 commits to main since this release

ForensicLens v1.2.0

Adds a batch CLI subcommand to scan an entire directory of images at once, instead of running the tool one image at a time.

New CLI command

forensiclens-cli batch [--no-recursive] [--extensions jpg,png] [--max-concurrency N] [--format json|csv] [--output ]

Features

  • Concurrent analysis — images are processed in parallel via Swift Concurrency, bounded by --max-concurrency (defaults to available CPU cores)
  • Per-file fault isolation — a corrupt or unreadable file is logged and skipped without aborting the rest of the batch
  • Live progress — a running "X/Y processed" indicator prints to stderr during the scan
  • Sorted summary report — results ordered by suspicion score descending, with each entry's top contributing anomalies
  • Flexible output — human-readable console table by default, or --format json / --format csv written to a file with --output
  • Filtering--extensions to control which file types are scanned, --no-recursive to limit the scan to the top-level directory only

Notes

Batch mode reuses the existing single-image analysis pipeline (Analyzer protocol + SuspicionScorer) — no separate analysis logic, so results are identical to running the tool on each file individually.

See the README for full CLI usage examples.