marty1885 / rknn-superresolution

Superresolution running on Rockchip NPU (RK3588, etc..)
ISC License
8 stars 1 forks source link
npu rk3588 rknn rockchip super-resolution

RKNN Superresolution

Demo code to run image superresolution on Rockchip NPU

How to use

  1. Download super-resolution-10.onnx from the ONNX model zoo
  2. Run convert.py on a PC with RKNN installed
    • Modify the target_platform variable to sute your board
  3. Move the generated super-resolution-10.rknn to your dev board
  4. Prepare any image, name it test.jpg on your board. Run infer.py
  5. out.jpg is your output