Neural network green screen keying for professional VFX pipelines.
(
ctx: typer.Context,
device: Annotated[
str,
typer.Option(help="Compute device: auto, cuda, mps, cpu"),
] = "auto",
)
| 280 | |
| 281 | @app.callback() |
| 282 | def app_callback( |
| 283 | ctx: typer.Context, |
| 284 | device: Annotated[ |
| 285 | str, |
| 286 | typer.Option(help="Compute device: auto, cuda, mps, cpu"), |
| 287 | ] = "auto", |
| 288 | ) -> None: |
| 289 | """Neural network green screen keying for professional VFX pipelines.""" |
| 290 | _configure_environment() |
| 291 | ctx.ensure_object(dict) |
| 292 | ctx.obj["device"] = resolve_device(device) |
| 293 | logger.info("Using device: %s", ctx.obj["device"]) |
| 294 | |
| 295 | |
| 296 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected