created repo

master
The_miro 2026-03-26 19:15:28 +01:00
commit 7fad3b03f9
5 changed files with 132 additions and 0 deletions

60
ascii-img.txt Normal file
View File

@ -0,0 +1,60 @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%%%%%%%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%#########*###%%@@@@@@@@@@@@##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##########################*****#**#
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#****+********++**###%@@@@@@@@@@@@%#############################************************************************
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#**+++**###*******+++#%%%@@@@@@@@@@%*###########################*************************************************
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%###*+++**##*******++++*###%%@@@@@@@@%#############################************************************************
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#***++++*******+++++++++**##%@@@@@@@@%*###########################*************************************************
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@%%%#*+++++++**#********+++++++*#%@@@@@@@@@############################*************************************************
%%%%%%%%%%%%%%%%%%%@@@@@@@@@@@@@@%%%@@@@@%#***+++++++++++++++++++++++++*##%@@@@%%@@*##########################************************************************##
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*++++++++++====++++===+++++++*##@@@@%%@@*##########################***********************************************##*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+++++++++++==++++*+===++++==+##%@@@%%@@*#########################************************************************###
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*++*******+++**##*++***++++*#@@@@%%@@*#########################**********************************************#####
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#**+*****+++++**###*++*#%*+**#@@@@@%%@@*#########################*********************************************######
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*##*#**++==++*###***#*#%#**#@@@@@@%%@@*##########################*****************************************#########
@@@@@@@@@@@@@@@@@@@@@@%%%@@@@@@@@@@@@@@@@@@@@%**##*++++=+%#+=====#*+*%#*%@@@@@@%%@@*###########################***************************************##########
@@@@@@@@@@@@@@@@@@@@%+-=*#%@%%@%@@@@@@@@@@@@@@@@@#*+++++#*+=++==++#**@@%@@@@@@@%%@@*###########################*********************************************####
@@@@@@@@@@@@@%%%#*++==++*#%*+*%%@@@@@@@@@@@@@@@@@%*++++++===+*+=+==+#@@@@@@@@@@%%@@###########################***************************+**++++++++++****++++++
@@@@@@@@%%%##***++=--=+=**++++=%@@@@@@@@@@@@@@@@@@##*+++#*+=---*==-=#%@%@@@@@@@%%@@*#####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+++++++++++++++++++++++++++++
@%@@@%%%#+***+====---==+**+=:--#@@@@@@@@@@@@@@@@*+++++*%#*+====*++++*+*###%%%@@%@@@####%@@%%%%%%%%%%%%%%%%%%%%%%###############***++++++++++++++++++++++++++++++
%%@@%##*+**+=---------===+-:::-#@@@@@@@@@@@%*##*===+##%%*+=====+*#++++#%###****##%%%%%%%*+**++++++++++++++++++++++++*****+++=====-=+++++++++++++++++++++++++++++
%%%#**+=**+=----::------==-::--#@@@@@@@%%@%+======+**#@#*+====++##+%@%%#****##%%@@@@@%%%*#%%%#####%%%%%%%%%%%%%%%%%%#**+++=======-=++++++++++++++++++++++++++++=
%#**+==++==-:::::--:------=-::+@@@@@@%###***++==-==-=%%*+=======#**@%#**###%%%%@@@@@@@@@*%@@@%%%%%%%%%%%%@@@@%@%*%@@%%*++==========+++++++++++++++++++++++++++++
##*=--++==-::::::-::::------+*#%@@@%##@@@%%####*++=-##*+===-===+#*+#*#%%@@@@%%%%%%%@@@@@*#@@@%%%%%%%%%%%%%%%%%%*%@@@@@%***+==+==+====+++++++++++++++++++++++++++
*+-:-=*=---::::::-:::::-::-+*#%@@%*#@@@%%%%%##***++#%#*+++=+++=+#*+*%@@@@@@@@@@@@@@@@@@@*#@@%%%%%@@@@@@@@@@@@@#%@%%#**++++++++=========++++++++++=======++++++++
=::-=*=---::::::--::::::-=+***#%*+#@@@@@%%%##***##%@%#*++=++***#%*+@@%%%%%%%%@@@@@@%%%@%*#@@@@@@@@@@@@@@@@@%#****++==================-===++=====================
:::-+=------::::--:::::-==++*##*#%@@@@@%%###%%%%%%@%#***++=*+***#%*###**++++**#%%%@@@@@%+#@@%%%%%%%%%%%%%%%#******++++++++++++++++=========++===================
::-==----------::::::::--=**###%@%%%%%%%%%%%%%%%%@@###****+#*%#####+=*##%%##****%@@@@@@###*++++++++++++++++====+++========-----------------==+==================
:-===---::=%@@@@%#*+++==+*#**%%%%%%@@%%%%%%%%@@%%#%#*+++==+++**#***#++++#@@@%@%%%%@@@@@##*--------------=======++===========================+===============++**
--==--::=#@@@@@@@@%@@@@@@@%@@@@%%%@@##%%%@@@%@%##**++==+=+++****+--#****+*####%%%%%%@@@#*++++++++++++++=++++++++==================++++++++***++=========++*#@@@@
--=--:-*%%%%%%%%%++****#########+*##+*##**#######***++++++++****+=+**++++********###%@%#+===========================================++++++++++*+++=====+*@@@@@@%
-=--:=##+=+*****=-==-==++++**+*+=**#+=+++++++=============+++****#*#*+*****#########%%#*+=======================================++++++++++****+++========++++===
=--::*+---======-------===+*==*==+****+====++====---------=+===+==+=+******#########%#**+-==================================++++++++++**+++++===----------------
=-:.:=::....:::::---:------==+*===+*+*#**++++=---:::::----++@=-==-===********####**#****=-=================================+++++++++++============----==-=------
-:...-::.....::::.:::-::---=-+=---+*==+*#+=+=-=--:::::-----**---=--=-+***********+#*=+++=--========================================++=--===-----------------=--=
:... .:.....:::.....---=====:-::--+=---=++++=*#------===---=:------==+*******++++*@*=*##************************++++++++++++++****#+------------------=--==-----
...........:........--===--:::------::-=++==-**---==----:---:::----===+*++++++***%@*=*######################***************#####%#*-------=-----------==--------
....................:--::-:-------::::-*#+------::::::::::--:::-:----=+====++***%@@*=*############################*********#####*=-=------------------===-------
....................--:::::--------::-+**-----:::::::::::::::::------==-==++****#@@*-+#############%%%%%%%%%%%%%%%###**********+--=--=============-----=====----
......... ........:=--::-----------:=*+------:::::::::::::::::---=-:==+++**####*@@#=+#*############################**********++++++++++==============---=++==--
........ .:::-:...--::---==---------=+--:::::::::::::::::::::::----:=+++**###%#*@@#++*=++++++++++++++++++++++++++++++++++++==+++=============-----=====--=+===-
..........-=-----.:-:-------=======--==--:::-:::::::::::::::::::-:--:=+++**##%%#*@@#=+=----------------------------------------------------------------==-------
.......-::--------::------===++====--=-::::-::..::::::::--:::::--::::=++*++*#%%#+@@#-=-----------------=================--=--------------------------:::----::--
......--:::--------:---===++++++++==-=:::--=-----------::::::----:---+*****+*%%#+@@#-=---------------------------------------------------:--:-------:::--::--:--
......::--------------==+++++++++==-===++++========+++++=--:::--::::=*****##**%#+@@#-=----------------------------------------------------------::--:---::::-::-
.... ..::---------==++++++++==+#*=**+==----:--------===+++==------+*****##%#%#+@@#-=-:::::::::::::::::---::----------------------:-::---::::::::::::::::----==
.... ...:::----===++=======#@%**+=------:-::-----------=+*+=-::-*******##%%#+@@#-=-----------------------------------------------------------------------===
... ......:----==========+*#+=*==------::::::--:---------=+*=::#@@@%%%####%*=@@#-=======================================---=======================--======--
.. ......:----===========+=-:=+==----:::::::::--:-:-:------=*-+##%%@@@@@@%%#*@@%=--=====================================---=======================--======--
....... .. .:---=========--==-:-+==---:::::::::::----:-:--:::--++*%%%%%@@@@@@@@@@@@%%*+=-============================================================--======--
. .::::.... .:---=======-----=======--:::::::::::::::::--::::---=+*%@@@@@@@@@@%%%%%@@@@@%*=-==========================================================------=---
. .-:::::::.::--=====------+##*+=*###-::::::::::==:==:=-:--:----=**##%@@@@@%%%#****#%%@@@@%*++=========================================================---------
. :-::::::::----==-------*%%*--*#+++:=--=::::::--:=-:+--+----=*#%%%%%%#%%%##***++**#%%%%%%%%##**+=====================================================---------
...::-:::::.:------------++++=:=#-::::+==+::::--:::::::::-:::=#%%%##%%##******+++++***#######+*#%%##+==================================================---------
.::::::::.:-----------====--:*==+=:=++*+::+***=-+***-:+**--**#@@@%*****++++====++++++****++==****#%#=-=================================================-------
.::::::::::------------===-:=+=##+-#+=**-=#*=-:+#*=-:*#=+===++*####==+++=======++++++++++==--+*++++*+----============+===============================---------
..:::::::...:-======-----=----+=-*#-**:=*+:-**+::-**+:=#*==-:====++**============++++========--=**++++-:-----=---==---==++====---======--=----------------------
..::::::...:=+++++==+=====+*#+*=-#+-#+:**=::+**---+**-+*=-:.-=-=======-----=================----+=++++-::--------==------=++++======================------------
:::::::...-========-:::-+#*+==#=+#--****=-****+-****+:=*=--:=:.------::::-------============----====+*=:::::--------------=========================------------:
::::::::.::-::::::+=-:-++=-::-*+++-:---:::---::----::::---::-:::::::::::::------------===--------------::::::::::::-----::---------------------------------:---:
::::::::::-==----:-==---::::::-==-::::::::::::::::::::::..::..::::::::::::::::---------------::--::--:::::::::::::::::::::::::::--=---==-===--=--==----:---=---:
:::::::::------::.:===----::--:-=-::::::::::::::::::::::::.::::::::::::::::-----------------:::-:::-:::::::::::::::::::::::::---:-=---------------=----:-------:

14
exec-cycle.sh Executable file
View File

@ -0,0 +1,14 @@
#/bin/bash
while true; do
clear
echo "Press any key to capture image"
guvcview &> /dev/null &
read -n 1
killall guvcview
./webcam2ascii.sh
read -n 1
done

53
nohup.out Normal file
View File

@ -0,0 +1,53 @@
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1036:(_snd_pcm_a52_open) [error.] a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card
ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card
ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card'
GUVCVIEW: version 2.2.1
control[0]:(unknown - 0x6) 0x980001 'User Controls'
control[12]:(unknown - 0x6) 0x9a0001 'Camera Controls'
GUVCVIEW Caught signal 2
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1036:(_snd_pcm_a52_open) [error.] a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card
ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card
ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card'
GUVCVIEW: version 2.2.1
control[0]:(unknown - 0x6) 0x980001 'User Controls'
control[12]:(unknown - 0x6) 0x9a0001 'Camera Controls'

BIN
web-cam-shot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

5
webcam2ascii.sh Executable file
View File

@ -0,0 +1,5 @@
#/bin/bash
fswebcam -r 640x480 --jpeg 85 -D 1 web-cam-shot.jpg &> /dev/null
ascii-image-converter web-cam-shot.jpg | tee ascii-img.txt