Skip to content

Instantly share code, notes, and snippets.

View raasoft's full-sized avatar

Riccardo Ancona raasoft

View GitHub Profile
@raasoft
raasoft / index.html
Last active May 4, 2018 13:15
Snake Example
<!-- We are going to use a canvas to render at 60 fps -->
<div id="wrapper">
<canvas id="canvas" widht="450" height="450"></canvas>
</div>
typedef enum { CREATION, FILLING, EARLY_STOP, FORCE_SEND_CONFIGURATION_MEMORY, ELABORATION_READ_PM, WAIT }
StateMachine_t;
StateMachine_t stm = CREATION;
typedef struct {
uint32_t startingAddress;
uint16_t validDataUntil;
uint16_t maxNumberOfWords;
// codice: https://js-girls.gitbooks.io/workshop/content/
// 😸 VARIABILI 😸
// le variabili sono scatole che contengono dei valori
// le usi per dare un nome ai valori
// per dichiarare che vuoi usare una variabile
// devi usare la parolina magica:
//
import dlib
import Image
from skimage import io
import matplotlib.pyplot as plt
def detect_faces(image):
# Create a face detector
face_detector = dlib.get_frontal_face_detector()
@raasoft
raasoft / keybase.md
Last active September 10, 2019 10:04
keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object: