Skip to content

akawiy/cmd_screen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

📺 CMD Screen

This is a program that can:

  • print images
  • play videos
  • show live camera picture

directly in command prompt

🔨 Build (Windows)

  1. Make sure you have the latest version of OpenCV installed at C:\tools\opencv (or you can edit the path in CMakeLists.txt)
  2. Download the latest version of the project (v2.0.1.zip)
  3. Unpack the ZIP archive
  4. Compile the project into a single executable

📋 Usage (Windows)

Once you have cmd_screen.exe (you can download it here), open the terminal that supports ANSI 24-bit Truecolor codes (almost all modern terminals do) in the same directory and use one of the following commands:

Print image:

cmd_screen img <image path>

Play video right away:

cmd_screen vid <video path>
  • Pros: no need to wait for preloading to finish, no risk of RAM overflow, adaptive sizing and centering
  • Cons: lower framerate, worse quality

Play video after preloading:

cmd_screen vid <video path> preload
  • Pros: higher framerate, better quality
  • Cons: high risk of RAM overflow for 1min+ videos, no adaptive sizing and centering

Show live picture from specific camera:

cmd_screen cam <camera index>

index should be a non-negative integer

Show live picture from default camera:

cmd_screen cam

the same as cmd_screen cam 0

Not vibecoded and made with ❤️ by Vladimir Polischuk

About

A program that can print images, play videos and show camera picture directly in command prompt

Topics

Resources

Stars

Watchers

Forks

Contributors