ASMR Programming - Video to ASCII C++ - No Talking
Servet Gulnaroglu Servet Gulnaroglu
219K subscribers
164,249 views
3.4K

 Published On Premiered May 2, 2023

Hi all,

Hope you like the video to ASCII converter! PRs are welcome on github.


πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»
Source code : https://github.com/servetgulnaroglu/v...
Live a star on github, if you enjoy!
πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»πŸ‘¨β€πŸ’»

⌨️ Keyboard: IQUNIX Q66 Fluorescence Wireless Mechanical Keyboard with Holy Panda Switches (5% discount)
https://iqunix.store/servetgulnaroglu


00:00 Set up the environment
00:38 "Hello, World" test
01:31 Write compile_commands.json (for vim autocompletion)
02:07 Create build.sh file
03:01 Include opencv
04:38 Start to write main.cpp
04:59 Search for a sample video
05:59 Capture video with opencv
08:35 Get fps of the video
10:34 Read video frame by frame
11:22 Turn the matrix into gray format
11:52 Resize the matrix
13:02 Iterating over matrix pixels
13:59 Creating a function that returns a char corresponding to a pixel
14:50 Adding delay between frames
16:04 Completing the pixelToASCII function
18:08 Try to solve the bug
20:26 Finding the bug (convert char into uchar)
22:03 Calculate width and height based on video
28:10 First successful run
28:40 Run with a traffic video
29:08 Run with a dog video
31:17 Run with a drifting video
33:07 Reversing ASCII string to get different results
33:58 Run with a flying birds video
36:03 Run with a monkey video
37:19 Run with a cat video
38:57 Run with another drifting video
40:22 Run with a nature video

show more

Share/Embed