created repo
commit
7fad3b03f9
|
|
@ -0,0 +1,60 @@
|
|||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%%%%%%%%
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%#########*###%%@@@@@@@@@@@@##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##########################*****#**#
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#****+********++**###%@@@@@@@@@@@@%#############################************************************************
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#**+++**###*******+++#%%%@@@@@@@@@@%*###########################*************************************************
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%###*+++**##*******++++*###%%@@@@@@@@%#############################************************************************
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#***++++*******+++++++++**##%@@@@@@@@%*###########################*************************************************
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@%%%#*+++++++**#********+++++++*#%@@@@@@@@@############################*************************************************
|
||||
%%%%%%%%%%%%%%%%%%%@@@@@@@@@@@@@@%%%@@@@@%#***+++++++++++++++++++++++++*##%@@@@%%@@*##########################************************************************##
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%*++++++++++====++++===+++++++*##@@@@%%@@*##########################***********************************************##*
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+++++++++++==++++*+===++++==+##%@@@%%@@*#########################************************************************###
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*++*******+++**##*++***++++*#@@@@%%@@*#########################**********************************************#####
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#**+*****+++++**###*++*#%*+**#@@@@@%%@@*#########################*********************************************######
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*##*#**++==++*###***#*#%#**#@@@@@@%%@@*##########################*****************************************#########
|
||||
@@@@@@@@@@@@@@@@@@@@@@%%%@@@@@@@@@@@@@@@@@@@@%**##*++++=+%#+=====#*+*%#*%@@@@@@%%@@*###########################***************************************##########
|
||||
@@@@@@@@@@@@@@@@@@@@%+-=*#%@%%@%@@@@@@@@@@@@@@@@@#*+++++#*+=++==++#**@@%@@@@@@@%%@@*###########################*********************************************####
|
||||
@@@@@@@@@@@@@%%%#*++==++*#%*+*%%@@@@@@@@@@@@@@@@@%*++++++===+*+=+==+#@@@@@@@@@@%%@@###########################***************************+**++++++++++****++++++
|
||||
@@@@@@@@%%%##***++=--=+=**++++=%@@@@@@@@@@@@@@@@@@##*+++#*+=---*==-=#%@%@@@@@@@%%@@*#####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+++++++++++++++++++++++++++++
|
||||
@%@@@%%%#+***+====---==+**+=:--#@@@@@@@@@@@@@@@@*+++++*%#*+====*++++*+*###%%%@@%@@@####%@@%%%%%%%%%%%%%%%%%%%%%%###############***++++++++++++++++++++++++++++++
|
||||
%%@@%##*+**+=---------===+-:::-#@@@@@@@@@@@%*##*===+##%%*+=====+*#++++#%###****##%%%%%%%*+**++++++++++++++++++++++++*****+++=====-=+++++++++++++++++++++++++++++
|
||||
%%%#**+=**+=----::------==-::--#@@@@@@@%%@%+======+**#@#*+====++##+%@%%#****##%%@@@@@%%%*#%%%#####%%%%%%%%%%%%%%%%%%#**+++=======-=++++++++++++++++++++++++++++=
|
||||
%#**+==++==-:::::--:------=-::+@@@@@@%###***++==-==-=%%*+=======#**@%#**###%%%%@@@@@@@@@*%@@@%%%%%%%%%%%%@@@@%@%*%@@%%*++==========+++++++++++++++++++++++++++++
|
||||
##*=--++==-::::::-::::------+*#%@@@%##@@@%%####*++=-##*+===-===+#*+#*#%%@@@@%%%%%%%@@@@@*#@@@%%%%%%%%%%%%%%%%%%*%@@@@@%***+==+==+====+++++++++++++++++++++++++++
|
||||
*+-:-=*=---::::::-:::::-::-+*#%@@%*#@@@%%%%%##***++#%#*+++=+++=+#*+*%@@@@@@@@@@@@@@@@@@@*#@@%%%%%@@@@@@@@@@@@@#%@%%#**++++++++=========++++++++++=======++++++++
|
||||
=::-=*=---::::::--::::::-=+***#%*+#@@@@@%%%##***##%@%#*++=++***#%*+@@%%%%%%%%@@@@@@%%%@%*#@@@@@@@@@@@@@@@@@%#****++==================-===++=====================
|
||||
:::-+=------::::--:::::-==++*##*#%@@@@@%%###%%%%%%@%#***++=*+***#%*###**++++**#%%%@@@@@%+#@@%%%%%%%%%%%%%%%#******++++++++++++++++=========++===================
|
||||
::-==----------::::::::--=**###%@%%%%%%%%%%%%%%%%@@###****+#*%#####+=*##%%##****%@@@@@@###*++++++++++++++++====+++========-----------------==+==================
|
||||
:-===---::=%@@@@%#*+++==+*#**%%%%%%@@%%%%%%%%@@%%#%#*+++==+++**#***#++++#@@@%@%%%%@@@@@##*--------------=======++===========================+===============++**
|
||||
--==--::=#@@@@@@@@%@@@@@@@%@@@@%%%@@##%%%@@@%@%##**++==+=+++****+--#****+*####%%%%%%@@@#*++++++++++++++=++++++++==================++++++++***++=========++*#@@@@
|
||||
--=--:-*%%%%%%%%%++****#########+*##+*##**#######***++++++++****+=+**++++********###%@%#+===========================================++++++++++*+++=====+*@@@@@@%
|
||||
-=--:=##+=+*****=-==-==++++**+*+=**#+=+++++++=============+++****#*#*+*****#########%%#*+=======================================++++++++++****+++========++++===
|
||||
=--::*+---======-------===+*==*==+****+====++====---------=+===+==+=+******#########%#**+-==================================++++++++++**+++++===----------------
|
||||
=-:.:=::....:::::---:------==+*===+*+*#**++++=---:::::----++@=-==-===********####**#****=-=================================+++++++++++============----==-=------
|
||||
-:...-::.....::::.:::-::---=-+=---+*==+*#+=+=-=--:::::-----**---=--=-+***********+#*=+++=--========================================++=--===-----------------=--=
|
||||
:... .:.....:::.....---=====:-::--+=---=++++=*#------===---=:------==+*******++++*@*=*##************************++++++++++++++****#+------------------=--==-----
|
||||
...........:........--===--:::------::-=++==-**---==----:---:::----===+*++++++***%@*=*######################***************#####%#*-------=-----------==--------
|
||||
....................:--::-:-------::::-*#+------::::::::::--:::-:----=+====++***%@@*=*############################*********#####*=-=------------------===-------
|
||||
....................--:::::--------::-+**-----:::::::::::::::::------==-==++****#@@*-+#############%%%%%%%%%%%%%%%###**********+--=--=============-----=====----
|
||||
......... ........:=--::-----------:=*+------:::::::::::::::::---=-:==+++**####*@@#=+#*############################**********++++++++++==============---=++==--
|
||||
........ .:::-:...--::---==---------=+--:::::::::::::::::::::::----:=+++**###%#*@@#++*=++++++++++++++++++++++++++++++++++++==+++=============-----=====--=+===-
|
||||
..........-=-----.:-:-------=======--==--:::-:::::::::::::::::::-:--:=+++**##%%#*@@#=+=----------------------------------------------------------------==-------
|
||||
.......-::--------::------===++====--=-::::-::..::::::::--:::::--::::=++*++*#%%#+@@#-=-----------------=================--=--------------------------:::----::--
|
||||
......--:::--------:---===++++++++==-=:::--=-----------::::::----:---+*****+*%%#+@@#-=---------------------------------------------------:--:-------:::--::--:--
|
||||
......::--------------==+++++++++==-===++++========+++++=--:::--::::=*****##**%#+@@#-=----------------------------------------------------------::--:---::::-::-
|
||||
.... ..::---------==++++++++==+#*=**+==----:--------===+++==------+*****##%#%#+@@#-=-:::::::::::::::::---::----------------------:-::---::::::::::::::::----==
|
||||
.... ...:::----===++=======#@%**+=------:-::-----------=+*+=-::-*******##%%#+@@#-=-----------------------------------------------------------------------===
|
||||
... ......:----==========+*#+=*==------::::::--:---------=+*=::#@@@%%%####%*=@@#-=======================================---=======================--======--
|
||||
.. ......:----===========+=-:=+==----:::::::::--:-:-:------=*-+##%%@@@@@@%%#*@@%=--=====================================---=======================--======--
|
||||
....... .. .:---=========--==-:-+==---:::::::::::----:-:--:::--++*%%%%%@@@@@@@@@@@@%%*+=-============================================================--======--
|
||||
. .::::.... .:---=======-----=======--:::::::::::::::::--::::---=+*%@@@@@@@@@@%%%%%@@@@@%*=-==========================================================------=---
|
||||
. .-:::::::.::--=====------+##*+=*###-::::::::::==:==:=-:--:----=**##%@@@@@%%%#****#%%@@@@%*++=========================================================---------
|
||||
. :-::::::::----==-------*%%*--*#+++:=--=::::::--:=-:+--+----=*#%%%%%%#%%%##***++**#%%%%%%%%##**+=====================================================---------
|
||||
...::-:::::.:------------++++=:=#-::::+==+::::--:::::::::-:::=#%%%##%%##******+++++***#######+*#%%##+==================================================---------
|
||||
.::::::::.:-----------====--:*==+=:=++*+::+***=-+***-:+**--**#@@@%*****++++====++++++****++==****#%#=-=================================================-------
|
||||
.::::::::::------------===-:=+=##+-#+=**-=#*=-:+#*=-:*#=+===++*####==+++=======++++++++++==--+*++++*+----============+===============================---------
|
||||
..:::::::...:-======-----=----+=-*#-**:=*+:-**+::-**+:=#*==-:====++**============++++========--=**++++-:-----=---==---==++====---======--=----------------------
|
||||
..::::::...:=+++++==+=====+*#+*=-#+-#+:**=::+**---+**-+*=-:.-=-=======-----=================----+=++++-::--------==------=++++======================------------
|
||||
:::::::...-========-:::-+#*+==#=+#--****=-****+-****+:=*=--:=:.------::::-------============----====+*=:::::--------------=========================------------:
|
||||
::::::::.::-::::::+=-:-++=-::-*+++-:---:::---::----::::---::-:::::::::::::------------===--------------::::::::::::-----::---------------------------------:---:
|
||||
::::::::::-==----:-==---::::::-==-::::::::::::::::::::::..::..::::::::::::::::---------------::--::--:::::::::::::::::::::::::::--=---==-===--=--==----:---=---:
|
||||
:::::::::------::.:===----::--:-=-::::::::::::::::::::::::.::::::::::::::::-----------------:::-:::-:::::::::::::::::::::::::---:-=---------------=----:-------:
|
||||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -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'
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
|
|
@ -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
|
||||
|
||||
Loading…
Reference in New Issue