ACCOUNT SID AC7d31f615c11da7395ac41e7022e2be06
AUTH TOKEN f4d2d78db1dceb195e410ddb5e19422a
{"integrations":{"sigfox":{"id":"{device}"}},"name":"sigfoxDataUplink","data":{"sigfoxData":"{data}","time":"{time}","duplicate":"{duplicate}","snr":"{snr}","station":"{station}","avgSnr":"{avgSnr}","lat":"{lat}","lng":"{lng}","rssi":"{rssi}","seqNumber":"{seqNumber}"}} |
Hi All, | |
For this tutorial, we're going to build a facial recognition camera that can detect if someone is smiling (or not). | |
Here's what you will need: | |
- Raspberry Pi (any model 3, 3+, Zero, etc). | |
- Raspberry Pi Camera Module (we recommend [this](https://www.raspberrypi.org/products/camera-module-v2/) one). | |
- Micro SD card (we recommend at least 8Gb). | |
- Micro USB to USB cable. | |
We've already got lots of in depth guides showing you how to setup your Raspberry Pi from scratch. You can view those [here](https://developers.wia.io/docs/raspberry-pi). |
'use strict'; | |
var wia = require('wia')('your-device-secret-key'); | |
var fs = require('fs'); | |
var RaspiCam = require("raspicam"); | |
// Setup the camera | |
var camera = new RaspiCam({ | |
mode: 'photo', | |
output: __dirname + '/photo.jpg', |
ACCOUNT SID AC7d31f615c11da7395ac41e7022e2be06
AUTH TOKEN f4d2d78db1dceb195e410ddb5e19422a