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

ะŸั€ะพัะผะพั‚ั€ะพะฒ: 198, 872   |   ะ—ะฐะณั€ัƒะถะตะฝะพ: 2 ะณะพะด.
icon
Servet Gulnaroglu
icon
4, 065
icon
ะกะบะฐั‡ะฐั‚ัŒ
iconะŸะพะดั€ะพะฑะฝะตะต ะพ ะฒะธะดะตะพ
Hi all,

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


๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป
Source code :
Live a star on github, if you enjoy!
๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

โŒจ๏ธ Keyboard: IQUNIX Q66 Fluorescence Wireless Mechanical Keyboard with Holy Panda Switches (5% discount)



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

ะŸะพั…ะพะถะธะต ะฒะธะดะตะพ

ะ”ะพะฑะฐะฒะปะตะฝะพ: 55 ะณะพะด.
ะ”ะพะฑะฐะฒะธะป:
  © 2019-2021
  ASMR Programming - Video to ASCII C++ - No Talking - RusLar.Me