Git Product home page Git Product logo

gncam's Introduction

Icon

GNCam

CI Status Version License Platform

Part of a larger effort to open source Giffy.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

GNCam is available through CocoaPods. To use it, simply add pod 'GNCam' to your Podfile. Make sure that use_frameworks! is also in your Podfile.

It should look something like this:

use_frameworks!

target '<MY_TARGET_NAME>' do
  pod 'GNCam'

  target '<MY_TEST_TARGET_NAME>' do
    inherit! :search_paths

  end
end

Author

Gonzalo Nuñez, [email protected]

Twitter: @gonzalo__nunez

License

GNCam is available under the MIT license. See the LICENSE file for more info.

Notes

As of right now, this is simply a direct Swift 3 port of existing code that I had – the original code is like 2+ years old. In the future, I plan on ditching the "CaptureManager" approach and going with a more protocol-oriented compositional approach. Along with that change, there will need to be a few more things before I can call this v1.0:

  1. Unit Tests with extensive code coverage
  2. A cleaner example app that showcases the supported features

Also, more than anything this library gives me the ability to start up a photo/video app in a matter of seconds. With that being said, many of the features added to this will be influenced by goals I have with apps that use this. If for some reason this actually gets starred and used, other developers will be influencing that as well :)

gncam's People

Contributors

gonzalonunez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gncam's Issues

Unable to install GNCam through pod

I created a new project. And In podfile I added pod 'GNCam' but when trying to install. It is giving an error.

[!] Unable to find a specification for GNCam

Please check whats the issue.

Connect VideoDataOutputDelegate

Hi, how to connect VideoDataOutputDelegate?
It isnt work...

I trying:
fileprivate lazy var captureController: CaptureViewController = {
let controller = CaptureViewController(inputs: [.video], outputs: [.stillImage, .metadata([AVMetadataObjectTypeQRCode])])
controller.captureDelegate = self
controller.captureManager.dataOutputDelegate = self

    return controller
}()

Please help

Multiple images taken like the original giffy project

@gonzalonunez I love your project very much, but I'm having a problem. Instead of taking one photo and presenting the next viewcontroller the image. I want the user to hold down on the enticer button and a burst of images will be taken until they let go of the camera button. Once the user lets go, the enticer button stops animating. Once they let go, the array of images taken will be passed onto the next view controller. Can you please implement this

Opening cam with UINavigationController NavigationBar

Hi Gonzales,

Is there a possibilty to start the Camera with showing my UINavigationBar at the top?
I've a application where i start with a UINavigationController stack and as a rootcontroller my CameraController. Inside this i use now your example like present but this is opening in a new fullscreen composition.

Many thanks.
Erkan

example project error

Example project not working. I change your BG3Y5KSHNC key, install and run app but camera screen is not working.

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.