# ๐ฆ 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.