IPhone : Accessing and Manipulating Video from an iPhone's 'Photos' (Swift)

on Saturday, April 18, 2015

I am attempting to make an app that allows an iPhone user to analyze a high speed (120 fps) video and compute a relatively precise time measurement. It takes advantage of the slow motion video recording to allow the user to pick a 'start' and 'stop' video frame. It then uses information about this frame to compute a relatively (relative to human reaction time) precise time.


The app would do the following:



  • Access a video item in the iPhone's 'Photos' library.

  • Allow the user to view the video just as they normally would with the 'Photos' app. Additionally, the user could would have buttons on the left and right side of the screen to move backward one frame and move forward one frame, respectively.

  • On any given frame, the user could press a 'choose frame' button and the app would save an integer representing the number of the frame for later use in calculation. For example, if the frame was the 145th frame, it would store 145.

  • After selecting one frame (which would be the 'start frame') the user could select the 'stop frame' (the frame in which the event that is being timed ends). The app would again store an integer for the 'stop frame' just like it did with the 'start frame.'

  • From here, the app is simply an arithmetic computation to determine the 'time' of the timed event.


Is this too difficult a project for me? I am new to Swift and have no idea what to do. Help with this would be much appreciated, I have been struggling with this for the last few days with no progress.


0 comments:

Post a Comment