Skip to main content

Simple video quality analysis using VBench

Project description

B10 Video Benchmark

Simple video quality analysis using VBench.

Installation

pip install b10-vidbench[vbench]

Usage

from b10_vidbench import VideoAnalyzer

analyzer = VideoAnalyzer(device="cuda")  # or "cpu"
analyzer.set_backends("vbench")

results = analyzer.analyze(
    videos_path="./videos",
    output_path="./results.json"
)

API

VideoAnalyzer(device="cuda")

  • set_backends(backends) - Set backend ("vbench")
  • analyze(videos_path, output_path, dimensions=None) - Analyze videos

Available Dimensions

  • aesthetic_quality, motion_smoothness, subject_consistency
  • temporal_flickering, dynamic_degree, imaging_quality
  • object_class, multiple_objects, human_action, color
  • spatial_relationship, scene, temporal_style, appearance_style
  • background_consistency, overall_consistency

Output Format

{
  "video1": {"aesthetic_quality": 0.85, "motion_smoothness": 0.72},
  "video2": {"aesthetic_quality": 0.78, "motion_smoothness": 0.68}
}

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

b10_vidbench-0.2.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

b10_vidbench-0.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: b10_vidbench-0.2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.11.13 Linux/6.5.0-45-generic

File hashes

Hashes for b10_vidbench-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d7e75bb83c9d49372ae91ab682025338e350da96b722c111bfb52bb85acccf8d
MD5 e7a951ebec1074779e29e82f9f7be0e4
BLAKE2b-256 505299f0670cd341fe37a857b8a5895014ff0b7a5bd4597ff555fa1d19001cdf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: b10_vidbench-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.11.13 Linux/6.5.0-45-generic

File hashes

Hashes for b10_vidbench-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d910fa93fd958276d4f32a0e30da4e4dfa60452ba21bb63cdd12af87709827be
MD5 dfebf6e0d7a0eb7a0ce48a0b5818adc2
BLAKE2b-256 0e882dc1450d20ec0ffe4bf726c0b425dc2e81d647468b7f57d482488ac9234a

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