Skip to content

Instantly share code, notes, and snippets.

View sccelik's full-sized avatar

SCC sccelik

View GitHub Profile
import cv2
import os
#local binary patterns
from skimage.feature import local_binary_pattern
from matplotlib import pyplot
import cv2
import os
#local binary patterns
from skimage.feature import local_binary_pattern
from matplotlib import pyplot
@sccelik
sccelik / gabor_filter.py
Created August 7, 2019 19:54 — forked from kendricktan/gabor_filter.py
Gabor kernel filter example in python
import numpy as np
import cv2
# cv2.getGaborKernel(ksize, sigma, theta, lambda, gamma, psi, ktype)
# ksize - size of gabor filter (n, n)
# sigma - standard deviation of the gaussian function
# theta - orientation of the normal to the parallel stripes
# lambda - wavelength of the sunusoidal factor
# gamma - spatial aspect ratio
# psi - phase offset
@sccelik
sccelik / keras VGG-Face Model.md
Created July 8, 2019 09:39 — forked from EncodeTS/keras VGG-Face Model.md
VGG-Face model for keras

VGG-Face model for Keras

This is the Keras model of VGG-Face.

It has been obtained through the following method:

  • vgg-face-keras:directly convert the vgg-face matconvnet model to keras model
  • vgg-face-keras-fc:first convert vgg-face caffe model to mxnet model,and then convert it to keras model

Details about the network architecture can be found in the following paper: