View main.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
import glob | |
import os | |
from sklearn.neighbors import KNeighborsClassifier | |
import pickle | |
import math | |
pkl_filename = "pickle_model.pkl" | |
with open(pkl_filename, "rb") as file: |
View dice_reader.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
from sklearn import cluster | |
params = cv2.SimpleBlobDetector_Params() | |
params.filterByInertia | |
params.minInertiaRatio = 0.6 | |
detector = cv2.SimpleBlobDetector_create(params) |
View SI-pop-by-municipality.csv
We can make this file beautiful and searchable if this error is corrected: Any value after quoted field isn't allowed in line 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Osebe s prijavljenim stalnim prebivali��em v Republiki Sloveniji po petletnih starostnih skupinah in spolu, ob�ine, Slovenija, polletno" | |
"OB�INE";"2019H2" | |
"Ajdov��ina";19484 | |
"Ankaran/Ancarano";3133 | |
"Apa�e";3591 | |
"Beltinci";8367 | |
"Benedikt";2575 | |
"Bistrica ob Sotli";1414 | |
"Bled";7907 |