Giter Club home page Giter Club logo

recaptur's Introduction

Recaptur: Scan & Edit Metadat‪a‬

Pers. Correction Date Input Map View Result on Photos

Now available on App Store for free!

Recaptur is an iOS app that allows you to

  1. Scan physical photos with real-time rectangle detection & perspective correction
  2. Save the image with user-selected timestamp and location data

Background

There are tons of apps today that allow you to scan physical photos with optimized rectangle detection and perspective correction.

But I always wished if there were a way to capture the old photos I have with original date and location data, as though I had a smartphone back when I took those pictures—so I created just that!

Through this app, you can scan a photo, then save it with the date and location of your choice.

After you saved your photo, you should be able to see all the changes reflected in Photos app.

How it works

I created this app without using the Interface Builder. All features have been implemented programmatically.

The bulk of AV-related methods in this project comes from AVFoundation framework.

The app has a Snapchat-like full-screen camera. The app displays real-time rectangle detection while the camera is on, and perspective correction is applied on the extracted image as soon as the shutter is pressed.

Anupam Chugh wrote a great article on developing Swift credit card scanner app, so I based off of his code when implementing rectangle detection and perspective correction.

The processed image gets exported to the editor screen as an UIImage object. In the editor screen, user saves a location data as a CLLocation object through MKMapView. The timestamp is saved as a Date object through UIDatePicker.

Lastly, the image data is saved to the Photo Library through UIImageWriteToSavedPhotosAlbum method. Immediately after, PHAssetChangeRequest fetches the newest photo in the album, and overwrites the metadata with user-provided timestamp and location data.

recaptur's People

Contributors

jason-ono avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sudheer5013

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.