Giter VIP home page Giter VIP logo

asciiterm's Introduction

     _    ____   ____ ___ ___ _____                   
    / \  / ___| / ___|_ _|_ _|_   _|___ _ __ _ __ __  
   / _ \ \___ \| |    | | | |  | |/ _ | '__| '_ ` _ \ 
  / ___ \ ___) | |___ | | | |  | |  __| |  | | | | | |
 /_/   \_|____/ \____|___|___| |_|\___|_|  |_| |_| |_|
          ASCIITerm - NDI Viewer for Terminals  

ASCIITerm Screenshot

Display NDI Video as ASCII Output in Terminal

Description

ASCIITerm.py is a Python script for rendering video frames as ASCII art live in Terminal.

This allows you to watch any movie or other recording in full, text-based glory.

This is designed to provide a "graphics" driver to old serial terminals for fun and profit.

Inspired by Modern Linux on a Wyse Terminal

It uses OpenCV for image processing, NumPy for numerical operations, and NDIlib for network device interface capabilities.

Setup

  1. Install NDI Tools - this lets you pipe video around your system/network:
https://ndi.video/tools/
  1. Clone this repo to your computer:
git clone https://github.com/mitchaiet/ASCIITerm.git
  1. Install the required dependencies:
pip3 install -r requirements.txt
  1. Run the script:
python3 ASCIITerm.py

Settings

ASCIITerm defaults to a resolution of 80 columns, 24 rows.

Run the script with a custom column and row resolution to match your needs:

python3 ASCIITerm.py 100 30

Usage

  1. Create a new NDI Video Source. You can use the NDI Tools Scan Converter to select a window, like a video player, and render it to a new NDI Video Source.

  2. Run the script with either the default (80x24) or custom resolution.

python3 ASCIITerm.py

or

python3 ASCIITerm.py 100 30
  1. You will see the main source selection screen. Select a video source by typing a number:
                                                                                             
              _    ____   ____ ___ ___ _____                   
             / \  / ___| / ___|_ _|_ _|_   _|__ _ __ _ __ ___  
            / _ \ \___ \| |    | | | |  | |/ _ | '__| '_ ` _ \ 
           / ___ \ ___) | |___ | | | |  | |  __| |  | | | | | |
          /_/   \_|____/ \____|___|___| |_|\___|_|  |_| |_| |_|
                                                               
               ASCIITerm - NDI Viewer for Terminal Windows                                                                   
             
         Looking for sources...
         Available NDI sources:
         1: MACBOOK-PRO-8.LAN (NDI Virtual Input)
         2: MACBOOK-PRO-8.LAN (Scan Converter)
         Select a source (by number):

asciiterm's People

Contributors

mitchaiet avatar somewheresy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.