ctinnell / IPDFCameraViewController

UIView subclass with camera preview, live border detection, perspective correction and an easy to use API

Home Page:https://instapdf.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screenshot

IPDFCameraViewController

Welcome to the spiritual successor of MAImagePickerController, that tries to unite a usable & simple camera component class into a single UIView. Initially written as an essential component of InstaPDF 4.0 for instapdf.com, it seemed too useful to keep closed source. Plus we're celebrating our 100,000 document upload ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Leave all the hard work dealing with AVFoundation, border detection and OpenGL up to IPDFCameraViewController. It includes:

  • Live border detection & perspective correction
  • Flash / Torch
  • Image filters
  • Simple API

WARNING: MINIMUM iOS VERSION REQUIREMENT: 8.0

Take a look at the sample project to find out how to use it.

Installation

Manual

To manually install the framework, drag and drop the IPDFCameraViewController/IPDFCameraViewController.h and IPDFCameraViewController/IPDFCameraViewController.m files into your project.

Cocoapods

Add the following to your Podfile:

use_frameworks!
pod "IPDFCameraViewController"

Author

Maximilian Mackh | Twitter: @mmackh | Web: inoads.com

Todo's

  • Include more filters
  • Smoother animation between border detection frames
  • Improve confidence

About

UIView subclass with camera preview, live border detection, perspective correction and an easy to use API

https://instapdf.com

License:MIT License


Languages

Language:Objective-C 95.9%Language:Ruby 4.1%