Skip to content

Instantly share code, notes, and snippets.

{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Detect circles"
]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Average an image with box filter"
]
},
{
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Average an image with box filter"
]
},
{
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phsamuel
phsamuel / gist:9ceae48a4d5304268ca4f59579ad3d2e
Created January 16, 2020 22:31
OpenCV capture video and write to drive
{
"cells": [
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
"# capture a video and write it to drive\n",
"\n",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phsamuel
phsamuel / confirm.html
Last active May 15, 2019 18:46
A simple "voting" example with node.js
<html>
<body>
<H2>Are you sure to overwrite your votes?</H2>
<form action="" method="post" enctype="multipart/form-data">
<fieldset>
<input type="submit" name="action" value="Update" />
<input type="submit" name="action" value="Cancel" />
</fieldset>
</form>
</body>
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Harris corner detection demo"
]
},
{
@phsamuel
phsamuel / cv2-epipolar.ipynb
Created February 14, 2019 20:44
Epipolar geometry (compute fundamental matrix and show epipolar lines)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.