error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools Have to install "Microsoft Visual C++ Build Tools" first ! Intalled! watershed convex points calculation hit & miss, thinning Zernike & Haralick, LBP, and TAS features morphological processing Speeded-Up Robust Features(SURF), a form of local features. thresholding convolution Sobel edge detection spline interpolation SLIC super pixes 分水岭。 凸点计算。 击中/击不中,细化算法。 泽尼克&Haralick,local binary patterns,和TAS的功能。 基于freeimage的numpy图像加载(需要安装freeimage库)。 加速的鲁棒特征(SURF)等。 阈值。 卷积。 Sobel边缘检测。 多边形绘制 距离变换 特征计算 样条插值
Decorator with Argument !! def decorator(argument): def shout(wrapped): # this is the real decorator !! @wraps (wrapped) def inner(*args, **kargs): print ( 'Before {}' .format(argument)) ret = wrapped(*args,**kargs) print ( 'After {}' .format(argument)) return ret return inner return shout @decorator('Chrisma ! ') def myfunc(): print ( 'Buy a gift!' ) myfunc() #++ output: # Before Chrisma ! # Buy a gift! # After Chrisma ! Also the argument can be anything, here I attempt to print out 'Before' and 'After' several times and the input argument is the number of times! Here is the code: def decorator(argument1, argument2): def shout(wrapped): @wraps (wrapped) def inner(*args, **kargs): print ( 'Before ! ' * argument1) ret = wrapped(*args,**kargs) print ( 'After ! ' *...
This weekend i managed to use Tableau to do some plotting. Still have some questions: 1) How can we do macro, or scripting instead of clicking botton? 2) How to handle thousands of rows?
留言
張貼留言