Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 623 Bytes

arch.md

File metadata and controls

14 lines (13 loc) · 623 Bytes

Arch

  1. Getting fps and length by calling the ffmpeg program
  2. Transform video to BMP frame files by calling the ffmpeg program
  3. Read one BMP file to image struct
  4. Thresholding
  5. Edge Detection by convolution and transform to absolute value
  6. Thresholding
  7. Select starting point (random for the first, and nearest for privies frame)
  8. Get Route Array by doing graph traversal using depth first search
  9. Adjust Route Array to fixed length using cubic Hermite interpolator
  10. Loop from 2 to 8 to generate all Route Arrays for every frame
  11. Merge Route Arrays to one Array
  12. transform Route Array to wav file