mendevi.probe

Perform the metrics and video properties measures.

Functions

open_ro(database, conn)

Open a new conn if the previous one is not already opened.

probe_and_store(database, video[, conn])

Measure the properties of the video.

Details

mendevi.probe.open_ro(database: Path, conn: Connection | None) Connection[source]

Open a new conn if the previous one is not already opened.

mendevi.probe.probe_and_store(database: Path, video: Path, conn: Connection | None = None, **kwargs: dict) Connection | None[source]

Measure the properties of the video.

Parameters

databasepathlike

The path of the existing database to be updated.

videopathlib.Path

The source video file to be annalysed.

conn: sqlite3.Connection, optional

A read only database connection.

**kwargsdict

All the metrics