From ded30f2e42bea12fba9bb9fdaa5c24a63e1eb6a3 Mon Sep 17 00:00:00 2001 From: Heiko J Schick Date: Mon, 23 Nov 2020 16:10:05 +0100 Subject: [PATCH] Initial commit --- .build_project | 1 + .idea/colorization.iml | 9 ++ .idea/modules.xml | 8 ++ .idea/workspace.xml | 261 ++++++++++++++++++++++++++++++++++ .project | 8 ++ CMakeLists.txt | 9 ++ data/dog.png | Bin 0 -> 82576 bytes inc/colorize_process.h | 63 +++++++++ inc/model_process.h | 109 +++++++++++++++ inc/utils.h | 84 +++++++++++ src/CMakeLists.txt | 60 ++++++++ src/acl.json | 1 + src/colorize_process.cpp | 292 +++++++++++++++++++++++++++++++++++++++ src/main.cpp | 82 +++++++++++ src/model_process.cpp | 238 +++++++++++++++++++++++++++++++ src/utils.cpp | 136 ++++++++++++++++++ 16 files changed, 1361 insertions(+) create mode 100644 .build_project create mode 100644 .idea/colorization.iml create mode 100644 .idea/modules.xml create mode 100644 .idea/workspace.xml create mode 100644 .project create mode 100644 CMakeLists.txt create mode 100644 data/dog.png create mode 100644 inc/colorize_process.h create mode 100644 inc/model_process.h create mode 100644 inc/utils.h create mode 100644 src/CMakeLists.txt create mode 100644 src/acl.json create mode 100644 src/colorize_process.cpp create mode 100644 src/main.cpp create mode 100644 src/model_process.cpp create mode 100644 src/utils.cpp diff --git a/.build_project b/.build_project new file mode 100644 index 0000000..b5e6946 --- /dev/null +++ b/.build_project @@ -0,0 +1 @@ +[{"name":"Build-Configuration","type":"AscendAppBuild","lastBuild":true,"buildProperties":{"HOST_OS":"Euleros2.8","HOST_ARCH":"aarch64","TARGET_TYPE":"SOC"}}] \ No newline at end of file diff --git a/.idea/colorization.iml b/.idea/colorization.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/colorization.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..31eb3e6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..d9ed53b --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,261 @@ + + + + + + + + + + + OPENCV_PATH + reiszeMatL + itemDataSize + resultImage + om + LoadModelFromFileWithMem + CreateDesc + CreateOutput + CreateInput + Execute + Postprocess + InitResource + Preprocess + Unload + LoadModelFromFileWithMem + ColorizeProcess + DestroyResource + + + $PROJECT_DIR$/out + $PROJECT_DIR$/src + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +