# ๐Ÿ“ฆ DeepCamera 2x Super Resolution A command-line interface (CLI) tool to perform 2x super-resolution on YUV video files using a remote inference server. --- ## ๐Ÿš€ Usage ```bash python your_script.py [OPTIONS] ``` --- ## ๐Ÿ”ง Arguments | Argument | Short | Required | Description | | ---------------- | ----- | -------- | ------------------------------------------------------------------------------------------------------------------------------------ | | `--input_file` | `-i` | โœ… Yes | Path to the **input YUV video** file to be processed. | | `--output_file` | `-o` | โœ… Yes | Path where the **upsampled output** video will be saved. | | `--url` | `-u` | โœ… Yes | URL of the **inference server** (`https://mpai-ufv.cyens.org.cy/`). | | `--size` | | โœ… Yes | Input video resolution (e.g., `720p`, `1080p`). | | `--pixel_format` | | โœ… Yes | YUV pixel format. See supported formats here: [labradon/yuvio](https://github.com/labradon/yuvio). | | `--model` | | โŒ No | Which model to use for upscaling. Options:
โ€ข `hd24k_full`
โ€ข `hd24k_standard` (default)
โ€ข `sd2hd_full`
โ€ข `sd2hd_standard` | --- ## ๐Ÿงช Example ```bash python main.py -i input_video.yuv -o output_video.yuv -u https://mpai-ufv.cyens.org.cy/ --size 1080p --pixel_format yuv420p10le --model hd24k_standard ``` --- ## ๐Ÿ“ Notes * The input video must be a **raw YUV** file with the specified resolution and pixel format. * Make sure the remote inference server is running and accessible via the `--url` you provide. * This tool does **not read/write MP4 or other container formats** โ€” it operates directly on raw video frames.