ASMR Programming - Video to ASCII C++ - No Talking

Опубликовано: 01 Январь 1970
на канале: Servet Gulnaroglu
166,483
3.5k

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


Смотрите видео ASMR Programming - Video to ASCII C++ - No Talking онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Servet Gulnaroglu 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 166,483 раз и оно понравилось 3.5 тысяч людям.