Comments (6)
@gonzalonunez ive tried working with your project, but I'm stuck. Ive been bashing head because I can't figure out what to do. I really need your help.
from gncam.
Hey! This is absolutely possible. You have essentially three options, two of which I use in Giffy. I'm going to say them off the top of my head but I think they'll be clear enough:
-
Inside the completion block, you can simply set off a timer to call the same method again after some time and cancel it if the user takes their finger off the top. This would be for the slowest most separated burst mode.
-
You can use the VideoDataOutputDelegate instead (simply add .videoData as an output of your CaptureManager and set yourself as the delegate when the user holds down the button, set it to the nil when they lift a finger or have that flag inside the delegate method itself). Inside this method, you can simply keep track of how many frames have come in and choose one every x frames. Every time you pick one, you convert this sample buffer to a UIImage (you can find that code in my other library, Walt). This will leave you with a fast or slow burst depending on your x.
-
If you want a burst just like the iPhone's burst mode, I'm pretty sure there's a method for that now that works on certain devices and after a certain iOS version. If this is what you want, you can look at the docs to find this method and try extending CaptureManager or I can add that to the library in a couple of weeks.
from gncam.
@gonzalonunez thanks. But you split huffy into three separate github project. Do you have one GitHub project that has gncamera, the tickerbutton, and Walt in one whole workspace. Because I'm having trouble putting these prices in one project that could help achieve my outcome. And yes, please can you add the library.
from gncam.
@gonzalonunez never mind you don't have to add the library. But which one of the options you told me about will allow me to not only put a limit on the number of photos that can be taken in the burst(like the one in giffy). Or when the user takes his finger off the button before the limit has been reached, then a new view controller will pop up with all of the images in an image array.
from gncam.
@gonzalonunez do you have the full giffy project you can share with me. It's exactly what I'm looking for. You have the project on github but it's in parts and prices. Do you think you could do that
from gncam.
Hey Jack, I just answered your email. Let me know if that helps a little more :)
from gncam.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gncam.