Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ricgby on github.
* I am ricgby (https://keybase.io/ricgby) on keybase.
* I have a public key whose fingerprint is 6089 2367 F7F2 8DA5 41E4 7AD0 5CCB 8642 F09B 69E0
To claim this, I am signing this object:
@0xbustos
0xbustos / timelapse.py
Created January 24, 2018 20:03
Create a small timelapse using opencv
import cv2
img1 = cv2.imread('1.jpg')
img2 = cv2.imread('2.jpg')
img3 = cv2.imread('3.jpg')
height , width , layers = img1.shape
video = cv2.VideoWriter('video.avi',-1,1,(width,height))
@0xbustos
0xbustos / webcam.py
Created January 24, 2018 19:31
Show webcam with python opencv
import cv2
# Initialize webcam
cap = cv2.VideoCapture(0)
while True:
# Capture frame-by-frame
ret, frame = cap.read()
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Npgsql;
using System.Data;
using Dapper;
namespace Conexion