Skip to content

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

License

Notifications You must be signed in to change notification settings

fbonniec/IPDFCameraViewController

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 96.0%
  • Ruby 4.0%