Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Up to new adventures !

Kevin kevinkit

:shipit:
Up to new adventures !
  • Germany
View GitHub Profile
View CopyForEqualDistribution
# -*- coding: utf-8 -*-
"""
Created on Sun Oct 4 13:35:21 2020
@author: Kevin
Equal distribution by copying.
"""
import os
@kevinkit
kevinkit / OpencvCamera.py
Last active Oct 2, 2020
Easy OpenCV Camera class with clean up function
View OpencvCamera.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Oct 2 14:43:23 2020
@author: khoefle
"""
import cv2
View base64.txt
iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAIABJREFU
eJwsu0eWbUmWZLeV6yWPmn3i7pEeGYUACqjKtYAGFtDEQDCZmCM66FRlkAz3z549dplyNAwz0MZR
lSMiW8X//b/9X02Q2f06sG2JbWlcEuySwAyBNnimOeDsylErfn9AxRLXhbNUNNujT5HmLDE58i0y
Am6VVOkI+o3bb185nX6mHhL1a09tD46nM802Sp0o8x3GHcVa+BpwR0cdPTXPGCnRi6RcNZerwP6P
hdYqGUEVM0VVdJOcqiOFSkEyBMW0Skq98+gUr8cjm5hpeWUoiip7npsmdo0xVbpqUE/Ho//B9pY4
7PdMZwmzROsLwiXys4dnT7Urp1fPLDLuR+bweUQfPPWWKPNMcJHQPCVEpNJgRkia8OXKaBzKZKKB
3Flejjvq95mYDvxYf6eXAXk60KwghBXXCdr3nhg1WVypnWT3YY8qD4qqtFhJsSEGTXOaumXefvvC
p59/oWWFc4avf73jjyN60rx+2CN2G9sU6Aqoe2SloH7aoU6J7e+N7bHRHRyPcMcJT+8VWTumLbOJ
idM6oKtHqCtn37OIQDee0K7yFIEpwX62CCDGQD9rZjmTvMG2Hp5wOkqieXCrknro6UMj1oDQmvlR
8CEwpQ71alBkjk9YWuBhCmociIvCtEwWG1kVPp8NaS6kr4nz4YWGptQZmws30VO/D7jeIV4erF9m
@kevinkit
kevinkit / saveallopenfigures.mat
Last active Jul 18, 2017
Useful ubuntu 16.04 commands
View saveallopenfigures.mat
h = get(0,'children');
for i=1:length(h)
saveas(h(i), ['figure' num2str(i)], 'fig');
end