Giter Club home page Giter Club logo

cdd-page-dewarp-ios's Introduction

Introduction

This project is an implementation of CDD Model on iOS Platform. We used OpenCV library to handle the image processing work. Since OpenCV is mostly a C++ library, the part of image processing in this project is written in Objective-C++. The interfaces are implemented in Swift, and a bridging file was created to compile the project.

Compiling

If you want to clone the code and deploy the project on your own computer and cell phones, certain steps have to be followed.

  1. The OpenCV library file is not included in the repository due to its large size, and it was added into .gitignore. In order to compile the project, you have to download the iOS distribution of OpenCV, and add it to the project (or you can just simply place it in the root directory of the project, and Xcode will recognize that).
  2. If problems are encountered when compiling the project, check the directory of bridging file in the build settings of the project.

Known Isses

  • The floaty menu will not start initially, and you have to scroll about in the tableview to make it appear. This problem is mainly caused by floaty library itself.
  • As you can see, we only implemented the core features of the model. More features would be added in further development.

Migration Progress

The implementation of the model is initially coded in Jupyter Notebook, and the following table shows the migration progress.

Jupyter Notebook iOS Version
CDD: Semi-automatic Model
CDD: Dewarp-v1
CDD: Dewarp-v2 ✅ (⚠)
CDD: Dewarp-v3
CDD: Page Optimization
RCF Network

⚠: There is no free transformation methods in OpenCV library. The implementation here would either be too time-consuming or produce white lines. This would be fixed in further updates, through interpolation methods.

Dependencies

Contact

If you have any problems or advices, feel free to contact me.

cdd-page-dewarp-ios's People

Contributors

jeffersonqin 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.