Wire the UART pins to the CH341A:
TX = SDA
RX = SCL
Power on camera and immediately start snander within a few milliseconds:
sudo ./snander -i
| var Bluebird = require('bluebird') | |
| Bluebird.config({ | |
| longStackTraces: true | |
| }) | |
| module.exports = Bluebird |
| var moment = require('moment-timezone'); // moment-timezone | |
| console.log(moment.tz.names()); // Get list of all available time zone names |
| #!/bin/bash | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then | |
| echo Please run this script using sudo | |
| echo Just type “sudo !!” | |
| exit | |
| fi | |
| #Check for 64-bit arch | |
| if [uname -m != x86_64]; then |
| /// <summary> | |
| /// A listing of ASCII control characters for readability. | |
| /// </summary> | |
| public static class AsciiControlChars | |
| { | |
| /// <summary> | |
| /// Usually indicates the end of a string. | |
| /// </summary> | |
| public const char Nul = (char)0x00; |
This face-boxer.py script is more-or-less the same code that you'll find in the OpenCV tutorial: Face Detection using Haar Cascades. For another variation, with more explanation, check out RealPython's tutorial.
The face-boxer.py script is designed to be run from the command-line. It has two required arugments:
| <?php | |
| class 💩💩💩💩 | |
| { | |
| function 💩💩💩($😎, $🐯) | |
| { | |
| return $😎 + $🐯; | |
| } | |
| } | |
| $🐔 = 3; |
| # Makefile for building keil projects | |
| KEIL=wine "/home/bliker/.wine/drive_c/Keil/UV4/UV4.exe" | |
| TMP=/tmp/keil.out | |
| NULL=/dev/null | |
| # Will prevent it from exiting even when somehing failied | |
| build: | |
| -@$(KEIL) -j0 -b -o $(TMP) *.uvproj 2> $(NULL); | |
| @cat $(TMP) |