Skip to content

Instantly share code, notes, and snippets.

import cv2
import os
import numpy as np
mtx = [ 7.8612894299052164e+02, 0., 7.3830147560671890e+02, 0.,
7.8839089780230699e+02, 6.5433443157976046e+02, 0., 0., 1. ]
mtx = np.array( mtx ).reshape((3, 3))
dist = [ -3.3554454300236025e-01, 1.3238788177666494e-01,
/*
By downloading, copying, installing or using the software you agree to this
license. If you do not agree to this license, do not download, install,
copy or use the software.
License Agreement
For Open Source Computer Vision Library
(3-clause BSD License)
Copyright (C) 2013, OpenCV Foundation, all rights reserved.
import cv2
import numpy as np
img = cv2.imread('drive1/00001.jpg')
h, w = img.shape[:2]
mtx = [ 3.0679274493541095e+03, 0., 2.8739287884653851e+03, 0.,
3.0672973940775432e+03, 2.5388101806976755e+02, 0., 0., 1. ]
mtx = np.array( mtx ).reshape((3, 3))
Rule1
ON IrReceived#Data=0x00F740BF do power off ENDON
ON IrReceived#Data=0x00F7C03F do power on ENDON
ON IrReceived#Data=0x00F700FF do dimmer + ENDON
ON IrReceived#Data=0x00F7807F do dimmer - ENDON
ON IrReceived#Data=0x00F720DF do color2 ff0000 ENDON
ON IrReceived#Data=0x00F7A05F do color2 00ff00 ENDON
ON IrReceived#Data=0x00F7609F do color2 0000ff ENDON
Rule2

Keybase proof

I hereby claim:

  • I am lukschwalb on github.
  • I am duckington (https://keybase.io/duckington) on keybase.
  • I have a public key whose fingerprint is 35FD DEBB 77CB A1F6 6157 7E23 9F8E B227 C057 935A

To claim this, I am signing this object:

[Unit]
Description=Nextcloud Client
[Service]
Type=simple
ExecStart=/usr/bin/nextcloud
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure