This file contains hidden or 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
FROM pritunl/archlinux | |
MAINTAINER Celia Cintas <[email protected]> Pablo Navarro <[email protected]> | |
COPY packages/ /packages | |
RUN pacman -S --noconfirm git make | |
RUN pacman -S --noconfirm python2 python2-pip | |
RUN pacman -S --noconfirm cmake boost | |
RUN cd packages && pacman -U --noconfirm vtk6-6.3.0-2-x86_64.pkg.tar.xz opencv-3.1.0-3-x86_64.pkg.tar.xz | |
RUN pacman -S --noconfirm gcc gcc-libs |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 | |
import fnmatch | |
import shutil | |
import os | |
import sys | |
import fileinput | |
dir_photos = '.' |
This file contains hidden or 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 matplotlib as mpl | |
from mpl_toolkits.mplot3d import Axes3D | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
mpl.rcParams['legend.fontsize'] = 10 | |
fig = plt.figure() | |
ax = fig.gca(projection='3d') |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
from pyPdf import PdfFileWriter, PdfFileReader | |
from reportlab.pdfgen import canvas | |
from StringIO import StringIO | |
from os.path import basename, splitext | |
from reportlab.lib.pagesizes import letter | |
import os | |
import pandas as pd |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
from pyPdf import PdfFileWriter, PdfFileReader | |
from reportlab.pdfgen import canvas | |
from StringIO import StringIO | |
from os.path import basename, splitext | |
from reportlab.lib.pagesizes import letter | |
import os | |
import pandas as pd |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import numpy as np | |
from matplotlib import pyplot as plt | |
from sklearn.metrics import confusion_matrix | |
def plot_PCA(Xp, y): | |
""" | |
""" |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import cv2 | |
import subprocess | |
import os | |
from time import gmtime, strftime | |
path = 'record_{}'.format(strftime("%Y-%m-%d%H:%M:%S", gmtime())) | |
os.makedirs(path) |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
from pyPdf import PdfFileWriter, PdfFileReader | |
from reportlab.pdfgen import canvas | |
from StringIO import StringIO | |
from reportlab.lib.pagesizes import letter | |
import pandas as pd | |
FILENAME_CERTIFICADOS = 'certificados.csv' |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
from pyPdf import PdfFileWriter, PdfFileReader | |
from reportlab.pdfgen import canvas | |
from StringIO import StringIO | |
from os.path import basename, splitext | |
from reportlab.pdfgen import canvas | |
from reportlab.lib.pagesizes import letter | |
import os |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import BeautifulSoup as soup | |
import pandas as pd | |
import httplib2 | |
import re | |
CODE_FAM = ['MGP00016', 'MGP00015', 'MGP00022', 'MGP00003', 'MGP00012', 'MGP00005', | |
'MGP00023', 'MGP00001', 'MGP00019', 'MGP00018', 'MGP00017', 'MGP00002', 'MGP00010', |
NewerOlder