Skip to content

Instantly share code, notes, and snippets.

name: "Attention-56"
input: "data"
input_dim: 1
input_dim: 3
input_dim: 224
input_dim: 224
layer{
name: "conv1"
type: "Convolution"
@kurnianggoro
kurnianggoro / GSOC2017_OpenCV_FacemarkAPI.md
Last active December 16, 2022 03:46
GSOC 2017 - Facemark API for OpenCV

[Facemark API for OpenCV][pull_request]

Student: Laksono kurnianggoro
Mentor: Delia Passalacqua
Link to commits: https://github.com/opencv/opencv_contrib/pull/1257/commits
Link to codes: https://github.com/opencv/opencv_contrib/pull/1257/files

Introduction

Facial landmark detection is a useful algorithm with many possible applications including expression transfer, virtual make-up, facial puppetry, faces swap, and many mores. This project aims to implement a scalable API for facial landmark detector. Furthermore, it will also implement 2 kinds of algorithms, including active appearance model (AAM) [1] and regressed local binary features (LBF) [2].

@kurnianggoro
kurnianggoro / facemark.puml
Last active August 22, 2017 02:07
UML for the facemark API
@startuml{output.png}
package "Facemark package" #DDDDDD {
class Algorithm
class Facemark{
+virtual void read( );
+virtual void write( );
@kurnianggoro
kurnianggoro / test_face_landmark.cpp
Created May 31, 2017 02:23
Test file for the development of facelandmark API
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <opencv2/face.hpp>
#include <iostream>
using namespace std;
using namespace cv;
bool getFaces( const Mat image, std::vector<Rect> & faces );
'''
Problem Descriptions:
https://gym.openai.com/envs/FrozenLake-v0
The agent should move to the goal position (G) from starting point (S) safely
environment is 4x4 grid of blocks,
F means frozen (safe), H means hole (unsafe)
example:
SFFF