/IPDFCameraViewController

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

Primary LanguageObjective-C

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.

Author

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

Todo's

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

License

The MIT License (MIT)

Copyright (c) 2015 Maximilian Mackh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.