Giter Site home page Giter Site logo

hubin858130 / sid-ncnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edvince/sid-ncnn

0.0 0.0 0.0 242.36 MB

Learning to See in the Dark running in Android by ncnn with Raw Camera

Java 0.16% CMake 0.59% C++ 31.11% C 67.64% Jupyter Notebook 0.49%

sid-ncnn's Introduction

本项目是将CVPR2018的“Learning to See in the Dark”的暗光成像,用ncnn在安卓上进行简单的部署实现。

Learning to See in the Dark是什么?

“Learning to See in the Dark”的主要工作是用了一个U-net like的模型,将摄像头原始输出的RAW图像,进行暗光增强,输出RGB图像。Paper具体内容可以去看知乎文章:https://zhuanlan.zhihu.com/p/397150704

项目说明

本项目有三个文件夹,分三个大的工作步骤,按照操作顺序说明一下(每一个文件夹里面都有单独的README具体说明):

  1. SID:对SID的模型进行简单的测试,同时进行模型的转换:ckpt->pb->onnx->onnx->ncnn
  2. Win:在windows上对上一步生成的ncnn模型,进行测试
  3. Camera2Raw:在安卓上用ncnn部署生成的ncnn模型。
  4. Images:一些测试结果图

按理说上面这些是要按顺序都跑一遍的,但我已经把各个部分的结果都跑出来了,所以可以随便用了。

效果

image

Bug

安卓的工程,经过测试发现不同的手机效果不太一样,有些手机可能app能使用,但是效果出不来。

  1. 目前测试效果正常的有:Samsung Galaxy S9
  2. 目前测试效果不正常的有:Xiaomi 8

相关依赖参考

Learning to See in the Dark(用了它提供的训练好了的模型):https://github.com/cchen156/Learning-to-See-in-the-Dark

windows上运行ncnn模型:https://github.com/EdVince/Ncnn-Win/tree/main/vs2019_ncnn_opencv-mobile_demo

Android相机获取RAW图像:https://github.com/EdVince/Android_learning/tree/main/Camera2Raw

sid-ncnn's People

Contributors

edvince avatar tumuyan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.