Skip to content

Instantly share code, notes, and snippets.

@Roger8
Roger8 / faceantispoofing.md
Last active September 12, 2021 05:51
face anti spoofing topics

github

  1. Implementation of "Learn Convolutional Neural Network for Face Anti-Spoofing" paper github
  2. Code for 2nd Place Solution in Face Anti-spoofing Attack Detection Challenge @ CVPR2019, https://github.com/SeuTao/CVPR19-Face-Anti-spoofing
  3. Face Anti-spoofing demo to detect replay, video and mask attack, https://github.com/lbf4616/Face-Anti-spoofing
  4. This is a C++ code for face anti-spoofing methods based on color texture features. https://github.com/wuyongchn/Face-Spoofing-Detection-or-Face-Liveness-Detection
  5. Single Shot Face Anti-spoofing. https://github.com/JinghuiZhou/awesome_face_antispoofing
  6. Face Anti-Spoofing 集合, https://github.com/ChanChiChoi/awesome-Face_Recognition#face-anti-spoofing

research

1.Research:Deep Tree Learning for Zero-shot Face Anti-Spoofing ,Face De-Spoofing: Anti-Spoofing via Noise Modeling ,Learning Deep Models for Face Anti-Spoofing: Binary or Auxiliary Supervision ,http://w

@Roger8
Roger8 / windows_cmd_notes.html
Created July 2, 2019 09:48
windows 常用命令
<div id="main">
<div id="post_detail">
<div class="post">
<h2>
<a id="cb_post_title_url" href="https://www.cnblogs.com/kekec/p/3662125.html">windows常用命令</a>
</h2>
<div id="cnblogs_post_body" class="blogpost-body"><p>打开"<strong><span style="color: rgb(255, 0, 0); --darkreader-inline-color:#cf1514;" data-darkreader-inline-color="">运行</span></strong>"对话框(<strong><span style="color: rgb(0, 128, 0); --darkreader-inline-color:#197517;" data-darkreader-inline-color="">Win+R</span></strong>),输入<span style="color: rgb(128, 0, 0); --darkreader-inline-color:#6e1110;" data-darkreader-inline-color="">cmd</span>,打开控制台命令窗口...</p>
<p>也可以通过<span style="color: rgb(255, 102, 0); --darkreader-inline-color:#d9681c;" data-darkreader-inline-color="">cmd /c 命令</span>&nbsp;和&nbsp;<span style="color: rgb(255, 102, 0); --darkreader-inline-color:#d9681c;" data-darkreader-inline-color="">cmd /k 命令</span>的方式来直接运行命令</p>
<p><span style="background-color: rgb(128, 128, 128); --darkreader-inline-bgcolor:#7e7c77;" data-dark
@Roger8
Roger8 / 3drotation.md
Created July 17, 2019 03:07
根据人脸3d landmarks 大概计算人脸方向

(code)[https://gist.github.com/zalo/71fbd5dbfe23cb46406d211b84be9f7e]

            # Construct a "rotation" matrix (strong simplification, might have shearing)
            rotationMatrix = np.empty((3,3))
            # 脸颊两点连线为x轴
            rotationMatrix[0,:] = (centered[16] - centered[0])/np.linalg.norm(centered[16] - centered[0])
            # 下巴眉心两点连线为y轴
            rotationMatrix[1,:] = (centered[8] - centered[27])/np.linalg.norm(centered[8] - centered[27])
            # 上面两条线所在平面的法向量为z轴( 所以用叉乘)
 rotationMatrix[2,:] = np.cross(rotationMatrix[0, :], rotationMatrix[1, :])
@Roger8
Roger8 / heatmap.md
Last active July 19, 2019 01:37
heatmap 热点图
heatmap 热点图
package com.manager.heatmap;

import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Point;
import android.support.annotation.NonNull;
import android.util.Log;