Skip to main content

Add your description here

Project description

cakelens-v5 CircleCI

Open-source AI-gen video detection model

Installation

Install the package with its dependencies:

pip install cakelens-v5

Command Line Interface

The package provides a command line tool cakelens for easy video detection:

Basic Usage

# Using Hugging Face Hub (recommended)
cakelens video.mp4

# Using local model file
cakelens video.mp4 --model-path model.pt

Options

  • --model-path: Path to the model checkpoint file (optional - will load from Hugging Face Hub if not provided)
  • --batch-size: Batch size for inference (default: 1)
  • --device: Device to run inference on (cpu, cuda, mps) - auto-detected if not specified
  • --verbose, -v: Enable verbose logging
  • --output: Output file path for results (JSON format)

Examples

# Basic detection (uses Hugging Face Hub)
cakelens video.mp4

# Using local model file
cakelens video.mp4 --model-path model.pt

# With custom batch size and device
cakelens video.mp4 --batch-size 4 --device cuda

# Save results to JSON file
cakelens video.mp4 --output results.json

# Verbose output
cakelens video.mp4 --verbose

Output

The tool provides:

  • Real-time prediction percentages for each label
  • Final mean predictions across all frames
  • Option to save results in JSON format
  • Detailed logging (with --verbose flag)

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

cakelens_v5-0.1.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

cakelens_v5-0.1.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file cakelens_v5-0.1.2.tar.gz.

File metadata

  • Download URL: cakelens_v5-0.1.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for cakelens_v5-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3c0110adc28b1dbc3370c37fe921e4720d972fad005cf61f8e8e59e439b460da
MD5 132cc10bcc41bc18fc93e708a1e4e62c
BLAKE2b-256 28f6ea385d5b2fffbc5a88e7deff164dfd0a864399aa2425dfbc6d1340434f03

See more details on using hashes here.

File details

Details for the file cakelens_v5-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cakelens_v5-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc988a36bd4ae0f7fdd14fc59d6bbb0d7d097de2d660681fba60dfd5ef22bfe
MD5 69c9d53f11e080e4c5bba9782fe42244
BLAKE2b-256 e41211e0811e7669044cf0ac0e177363b6b479e1e27021f3c6fb9c72b49ad5f8

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