Skip to content

Instantly share code, notes, and snippets.

@claudiofahey
claudiofahey / cataway_detector.py
Last active March 10, 2020 15:54
Sample Python app for ingesting a video camera feed into Pravega
#!/usr/bin/env python3
"""
This script reads video from a camera and writes the frames to Pravega.
It also detects motion and can send alerts (via an HTTP call)
when motion is above a threshold.
It uses the Pravega GRPC Gateway (https://github.com/pravega/pravega-grpc-gateway).
"""
//
// Companion code to https://medium.com/statuscode/pipeline-patterns-in-go-a37bb3a7e61d
//
// To run:
// go get github.com/pkg/errors
// go run -race pipeline_demo.go
//
package main
@claudiofahey
claudiofahey / multivariate_gaussian_interact_1.ipynb
Last active January 16, 2017 03:28
multivariate_gaussian_interact_1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.