-
Notifications
You must be signed in to change notification settings - Fork 1
/
requirement.py
executable file
·165 lines (127 loc) · 2.74 KB
/
requirement.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#required libraries
#python libraries
import argparse
import time
import shutil
import sys
import os,fnmatch
import glob
from itertools import tee, izip
from itertools import compress
import multiprocessing
from multiprocessing import Pool
from contextlib import closing
import warnings
from operator import itemgetter
import math
import copy
import csv
import numpy as np
from numpy import NaN, Inf, arange, isscalar, asarray, array
from numpy import arctan2, sqrt
import numexpr as ne
from rdp import rdp
from scipy import misc
from scipy import ndimage
from scipy.optimize import curve_fit
from scipy.spatial import distance
from scipy.ndimage import binary_dilation, binary_erosion, gaussian_filter, gaussian_gradient_magnitude
from sklearn import preprocessing
from sklearn import linear_model
from sklearn.preprocessing import normalize, MinMaxScaler
from matplotlib import pyplot as plt
import matplotlib.cm as cm
import matplotlib
import matplotlib as mpl
import matplotlib.cm as cm
import matplotlib.pyplot as plt
from matplotlib.ticker import LinearLocator, FormatStrFormatter
from matplotlib._png import read_png
from matplotlib.cbook import get_sample_data
import matplotlib.image as mpimg
from mayavi import mlab
from mayavi.core.ui.mayavi_scene import MayaviScene
import cv2
from skimage import color
from skimage import transform
from skimage.measure import regionprops, label
from skimage.morphology import watershed, convex_hull_image
from skimage.color import label2rgb
from skimage.util import invert
from skimage.feature import peak_local_max
from skimage.morphology import watershed
from openpyxl import load_workbook
from openpyxl import Workbook
from plyfile import PlyData, PlyElement
'''
from frame_interp import interpolate_frame
import morphsnakes
from detectors import Detectors
from tracker import Tracker
from kalman_filter import KalmanFilter
'''
'''
sudo pip install
rdp
scikit-learn
mayavi
opencv-python
opencv-contrib-pythonb
scikit-image
openpyxl
plyfile
'''
'''
sudo apt-get update
sudo apt-get install
python-numpy
python-scipy
python-matplotlib
ipython
ipython-notebook
python-pandas
python-sympy
python-nose
python-numexpr
build-essential
cmake
git
libgtk2.0-dev
pkg-config
libavcodec-dev
libavformat-dev
libswscale-dev
python-dev
python-numpy
libtbb2
libtbb-dev
libjpeg-dev
libpng-dev
libtiff-dev
libjasper-dev
libdc1394-22-dev
'''
'''
pkg-config --modversion opencv
opencv3.4.0
sudo apt-get install
build-essential
cmake
git
libgtk2.0-dev
pkg-config
libavcodec-dev
libavformat-dev
libswscale-dev
python-dev
python-numpy
libtbb2
libtbb-dev
libjpeg-dev
libpng-dev
libtiff-dev
libjasper-dev
libdc1394-22-dev
sudo pip install opencv-python
sudo pip install opencv-contrib-python
'''