Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 881 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 881 Bytes

STYLE TRANSFER CPP

C++ project that exploit ONNXRuntime to run style transfer models

Content Style Generated Image

Avalilable styles:

  1. Candy
  2. Mosaic
  3. Pointilism
  4. Rain Princess
  5. Udnie

Dependencies:

  1. OpenCv: sudo apt install libopencv-dev python3-opencv
  2. ONNXRuntime: ONNXRuntime installation and CMake integration

Configuration

  1. Preliminary step: make prepare
  2. CMake configuration:
    • Debug: make configuration_d
    • Release: make configuration_r

Build

cmake --build ./build -j<cpu_count>