historyから適当に引っ張ってきたので間違っているかもしれない。
git clone --recursive https://github.com/openMVG/openMVG.git
mkdir openMVG_Build
cd openMVG_Build
cmake -DCMAKE_BUILD_TYPE=RELEASE -DOpenMVG_BUILD_TESTS=ON -DOpenMVG_BUILD_EXAMPLES=ON . ../src/
make -j 7
import pickle | |
import pylab as plt | |
from glob import glob | |
from PIL import Image | |
class Selector(object): | |
def __init__(self, data): | |
self.data = data | |
self.figure = plt.figure(figsize=(10, 5)) |
import pickle | |
import pylab as plt | |
from glob import glob | |
from PIL import Image | |
import matplotlib.patches as patches | |
class Detector(object): | |
def __init__(self, data): | |
self.data = data |
import pickle | |
import pylab as plt | |
from glob import glob | |
from PIL import Image | |
class Labeler(object): | |
def __init__(self, data): | |
self.data = data | |
self.labels = [-1 for _ in data] |
# -*- coding: utf-8 -*- | |
# parameters ###### 調整したほうが良いかも | |
nb_k = 8 | |
α = 6 | |
a0 = b0 = 0.5 | |
##################### | |
import numpy as np | |
from numpy import exp |