chore: add example workflow for super resolution (#26)

* Added Super Resolution to the streampack

* Super Resolution created by ryan, updated for missing <>

Co-authored-by: ryanontheinside <7623207+ryanontheinside@users.noreply.github.com>

* add prestartup script to check for opencv-cuda

* update log msg

* Add FSRCNN 2x super-resolution GPU workflow example

---------

Co-authored-by: ryanontheinside <7623207+ryanontheinside@users.noreply.github.com>
Co-authored-by: John | Elite Encoder <john@eliteencoder.net>
This commit is contained in:
Jason
2025-04-23 12:09:03 +03:00
committed by GitHub
co-authored by ryanontheinside John | Elite Encoder
parent fce8d032f8
commit c3e196822d
@@ -0,0 +1,50 @@
{
"1": {
"inputs": {
"model_type": "FSRCNN",
"scale_factor": "2"
},
"class_type": "SuperResolutionModelLoader",
"_meta": {
"title": "SR Model Loader"
}
},
"2": {
"inputs": {
"use_cuda": "True",
"image": [
"3",
0
],
"sr_model": [
"1",
0
]
},
"class_type": "SuperResolutionUpscale",
"_meta": {
"title": "SR Upscale"
}
},
"3": {
"inputs": {
"image": "example-512x512.png"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"4": {
"inputs": {
"images": [
"2",
0
]
},
"class_type": "PreviewImage",
"_meta": {
"title": "Preview Image"
}
}
}