cakelens-v5 
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
--verboseflag)
Metadata
Release files for cakelens-v5 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cakelens_v5-0.1.2.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cakelens_v5-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 kB
Release files / cakelens_v5-0.1.2.tar.gz
| Download URL | cakelens_v5-0.1.2.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c0110adc28b1dbc3370c37fe921e4720d972fad005cf61f8e8e59e439b460da
|
|
BLAKE2b-256 checksum How to use checksums |
28f6ea385d5b2fffbc5a88e7deff164dfd0a864399aa2425dfbc6d1340434f03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Release files / cakelens_v5-0.1.2-py3-none-any.whl
| Download URL | cakelens_v5-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fc988a36bd4ae0f7fdd14fc59d6bbb0d7d097de2d660681fba60dfd5ef22bfe
|
|
BLAKE2b-256 checksum How to use checksums |
e41211e0811e7669044cf0ac0e177363b6b479e1e27021f3c6fb9c72b49ad5f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|