Giter VIP home page Giter VIP logo

pyglflow's Introduction

pyglFlow

An openGL GLSL implementation of Stuff TBD Using a python front end

Installation

Tested running on win10 with python 3.8 x64

$ pip install git+https://github.com/philipNoonan/pyglFlow.git

Using pyglFlow

mkdir data

Place any video you want to play with into the /data folder.

$ pyglFlow

This opens a black window, with a menu allowing you to choose between Use Camera, and Select Video File. Either option prompts a new drop down list of camera IDs (click to choose 0 for default) or available video files found in the /data directory. The sliders change which frame is rendered in either the R,G,B channels in the middle window. The 'run filter' option runs a simple gradient compute shader over the latest frame from the chosen video source.

pyglflow's People

Contributors

philipnoonan avatar fepegar avatar

Stargazers

cyberPanda avatar  avatar Cole Hudson avatar  avatar Miguel Xochicale, PhD avatar

Watchers

James Cloos avatar  avatar

pyglflow's Issues

Shaders folder not found after pip-installing

$ pyglflow                                                                                                                                                                                                                   
Traceback (most recent call last):
  File "/home/fernando/miniconda3/envs/phil/bin/pyglflow", line 8, in <module>
    sys.exit(main())
  File "/home/fernando/miniconda3/envs/phil/lib/python3.8/site-packages/pyglflow/pyglFlow.py", line 152, in main
    vertex_shader = (Path(__file__).parent.parent / 'shaders/screenQuad.vert').read_text()
  File "/home/fernando/miniconda3/envs/phil/lib/python3.8/pathlib.py", line 1232, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
  File "/home/fernando/miniconda3/envs/phil/lib/python3.8/pathlib.py", line 1218, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/home/fernando/miniconda3/envs/phil/lib/python3.8/pathlib.py", line 1074, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/fernando/miniconda3/envs/phil/lib/python3.8/site-packages/shaders/screenQuad.vert'

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.