Code Monkey home page Code Monkey logo

ascii-webcam's Introduction

ASCII Webcam

Affiche votre webcam en ASCII dans votre terminal !

INFO

Affiche votre webcam en ASCII dans votre terminal !
Utilisé dans la vidéo : https://youtu.be/DBnStqiLB-Q
Ce projet a été inspiré par : https://github.com/uvipen/ASCII-generator

Installation

Clonage du dépôt :

git clone https://github.com/micodeyt/ascii-webcam
cd ascii-webcam

Installation des dépendances :

pip install -r requirements.txt

Utilisation

Commande de lancement : (dans le répertoire)

py cam.py

Appuyez sur Echap pour quiter le programme.

ascii-webcam's People

Contributors

brit45 avatar foxypiratecove37350 avatar hk2281 avatar michael-dm avatar pastrik avatar thomasb22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ascii-webcam's Issues

Impossible de lancer le programme sans code d'érreur

Bonjour,

J'aimerais pouvoir tester le programme sauf qu'a chaque lancement j'ai une erreur (ci dessous)

root@pop-os:/home/sikelio/ascii-webcam# py cam.py /usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working from collections import Iterable Traceback (most recent call last): File "/usr/bin/py", line 167, in <module> result = eval(args.expression) File "<string>", line 1, in <module> cam.py NameError: name 'cam' is not defined

Je voulais savoir s'il y a quelque chose que j'ai raté.
J'ai bien suivi les instructions dans la repo

Merci d'avance

Module cv2 impossible à télécharger

Bonjour,

J'ai tout essayer
pip install opencv-python
pip3 install opencv-python

instraller plein d'autre dépandances, rien y fais, je peut pas avoir le module

`ERROR: Command errored out with exit status 1:
command: /usr/bin/python /home/pi/.local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-g7ZAAJ/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"''
cwd: None
Complete output (25 lines):
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Ignoring numpy: markers 'python_version == "3.5"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.8"' don't match your environment
Collecting setuptools
Using cached setuptools-44.1.1-py2.py3-none-any.whl (583 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting scikit-build
Using cached scikit_build-0.11.1-py2.py3-none-any.whl (72 kB)
Collecting cmake
Using cached cmake-3.18.2.post1.tar.gz (28 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-83AuY8/cmake/setup.py'"'"'; file='"'"'/tmp/pip-install-83AuY8/cmake/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-JHxAAI
cwd: /tmp/pip-install-83AuY8/cmake/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-83AuY8/cmake/setup.py", line 7, in
from skbuild import setup
ImportError: No module named skbuild

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ERROR: Command errored out with exit status 1: /usr/bin/python /home/pi/.local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-g7ZAAJ/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"'' Check the logs for full command output.
`

module cv2

Bonjour, je suis nouveau sur github, donc désolé si ce message n'est pas au bon endroit
Quand j'essaye d'executer le programme, ca me dit que cv2 n'est pas installé (ce qui est vrai j'ai juste les modules de base). Où puis-je le trouver et comment faire pour qu'il s'execute bien ?
Merci d'avance

cv2

Bonjour, je suis nouveau sur github, donc désolé si ce message n'est pas au bon endroit
Quand j'essaye d'executer le programme, ca me dit que cv2 n'est pas installé (ce qui est vrai j'ai juste les modules de base). Où puis-je le trouver et comment faire pour qu'il s'execute bien ?
Merci d'avance

Fermer proprement le programme

D'après le code la touche échappe permet de quitter le programme, mais ce n'est pas le cas. Ou alors c'est dû à mon environnement ?

OS : Debian 10 Buster

Par contre en affichant le résultat dans une fenêtre comme sur ma branche inwindow cela fonctionne.

problème d'éxecution

Salut @michael-dm ,

Il est impossibile d'executer correctement le programme au lancement du script après avoir installé correctement
toute les dépendences.

Code d'erreur : Inconsistent use of tabs and spaces in indentationPylance

Il sagit d'une erreur d'indentation au niveau de la variable "CHAR_LIST"

Plus de commentaires ?

Salut,
Je ne connais pas vraiment github, j'espère que je poste au bon endroit.
Est-ce que selon vous, il ne serait pas plus intéressant de proposer un code bien commenté et très explicatif, étant donné que ce script est ouvert à tous et qu'il reste à but éducatif. Dans ce cas autant l'expliciter au maximum, surtout pour les débutants.
Si c'est effectivement intéressant de poster ça, j'ai refait le programme de mon côté, bien commenté, donc je peux le partager

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.