Skip to content

Instantly share code, notes, and snippets.

View CedricVanhaverbeke's full-sized avatar
💪
btw, I use nvim

Cedric Vanhaverbeke CedricVanhaverbeke

💪
btw, I use nvim
View GitHub Profile
$include (c8051f120.inc)
mov cseg at 0000H
jmp main
mov cseg at 0050H
main:
clr EA
mov WDTCN, #0DEH
mov WDTCN, #0ADH
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
use Data::Dumper;
use Term::ANSIColor;
$clear_string = `clear`;
sub print_speelveld{
my $aantalBommen = shift;
print " " x 10;
for my $i (0..8){
printf("%-10s", $i - 4);
# Based on https://www.mathworks.com/help/images/ref/imsegkmeans.html
import cv2 as cv
import numpy as np
import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
from sklearn import preprocessing
# Building some gabor kernels to filter image