Custom Function Repo

Manually process or modify frames and metadata using python code from a specific Git repository

Overview

Custom Function Repo node lets you run custom python code from a specific Git repository to process or modify frames, and extract or add metadata to frames.

Inputs & Outputs

  • Inputs : 1, Media Format : Raw Video
  • Outputs : 1, Media Format: Raw Video
  • Output Metadata : See below.

Properties

PropertyDescriptionTypeDefaultRequired
git_repo_urlThe URL of the Git repository where the Lumeo custom functions package is located. See example here: https://github.com/lumeohq/custom-functionsstring-Yes
git_versionGit version to use. Can be a branch name, a tag, or a commit hash.string-No
git_tokenRead-only token to use for private Git repositories.string-No
package_nameName of the package to install from the Git repository.string-Yes
package_versionPython package version to install from the Git repository.string-Yes
module_nameName of the Python module to use from the package.string-Yes
function_nameName of the function to use from the module. Defaults to process_frame if not specified.string-No
configurationJSON object containing the configuration for the function. Passed as the configuration parameter to the function.string-No