This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //bancos brasileiros | |
| $bancos = array( | |
| array('code' => '001', 'name' => 'Banco do Brasil'), | |
| array('code' => '003', 'name' => 'Banco da Amazônia'), | |
| array('code' => '004', 'name' => 'Banco do Nordeste'), | |
| array('code' => '021', 'name' => 'Banestes'), | |
| array('code' => '025', 'name' => 'Banco Alfa'), | |
| array('code' => '027', 'name' => 'Besc'), | |
| array('code' => '029', 'name' => 'Banerj'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| import subprocess | |
| ### for reference, the output of v4l2-ctl -d /dev/video1 -l (helpful for min/max/defaults) | |
| # brightness (int) : min=0 max=255 step=1 default=128 value=128 | |
| # contrast (int) : min=0 max=255 step=1 default=128 value=128 | |
| # saturation (int) : min=0 max=255 step=1 default=128 value=128 | |
| # white_balance_temperature_auto (bool) : default=1 value=1 | |
| # gain (int) : min=0 max=255 step=1 default=0 value=0 | |
| # power_line_frequency (menu) : min=0 max=2 default=2 value=2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://elinux.org/Jetson/FAQ/BSP/RootFS_Reduction#Remove_installed_deb_packages | |
| ## Step 1, safe | |
| sudo apt update | |
| sudo apt autoremove -y | |
| sudo apt clean | |
| sudo apt remove thunderbird libreoffice-* -y | |
| ## Step 2, still safe but not recommended for dev use | |
| # samples |