GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DuoLong/Tscpr

BranchesTags
Open more actions menu

Latest commit

 

History

65 Commits
65 Commits

Folders and files

NameName
Last commit message
Last commit date
Local
Local
 
 
Local_mirror
Local_mirror
 
 
correction_model
correction_model
 
 
flip_image
flip_image
 
 
initialization
initialization
 
 
rcpr_with_initialization
rcpr_with_initialization
 
 
rcpr_with_initialization_mirror
rcpr_with_initialization_mirror
 
 
results
results
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Face Alignment Using Two-Stage Cascaded Pose Regression and Mirror Error Correction(TSCPR)

Install Requirement

First, make sure you have OPENCV and MXNET already installed.

  • OPENCV How to install OPENCV.

    ​ We use cv2 for image IO and resize(much faster than skimage), the input image's channel is acutally BGR

  • MXNET How to install MXNET.

    ​ please update to the newest version, we need 'full' mode in Pooling operation

    ​ Only tested on Linux and Windows.

Robust Initialization:

We use a Robust Initialization for Cascaded Pose Regression (RICPR) by providing texture and pose correlated initial shapes for the testing face.

Pose correlated initialization:

MTCNN:

Test

cd initialization/mxnet_mtcnn_face_detection/

Run:

python main.py

Epnp_Mapping

Run the following file:

initialization/Epnp_Mapping/ConsoleApplication1/ConsoleApplication1.cpp

Texture correlated initialization:

Run the following file:

initialization/Texture_initialization/getlbpHist.m

Regression:

Global Stage:

rcpr_with_initialization:

we use a global cascaded pose regression with robust initialization to get localization results for the original image

Run the following file:

rcpr_with_initialization/FULL_demoRCPR.m

rcpr_with_initialization_mirror:

Run the following file:

rcpr_with_initialization_mirror/FULL_demoRCPR.m

Global_correction_model:

Run the following file:

correction_model/Correlation_model/zhenshi_jiance.m
correction_model/Correlation_model/jiance_jingxiang.m
correction_model/Correlation_model/myPearson.m

The global average correlation of mirror error and localization error on the COFW dataset:

correction_model/dingquezhi_tichu.m
correction_model/zhengli.m

Local Stage:

rcpr_with_initialization:

we use a global cascaded pose regression with robust initialization to get localization results for the original image

Run the following file:

Local/rcpr_v1_stable_left_eye/FULL_demoRCPR.m
Local/rcpr_v1_stable_right_eye/FULL_demoRCPR.m
Local/rcpr_v1_stable_nose/FULL_demoRCPR.m
Local/rcpr_v1_stable_mouse/FULL_demoRCPR.m

Run the following file:

Local/Integration.m

Integration

rcpr_with_initialization_mirror:

Run the following file:

Local_mirror/rcpr_v1_stable_left_eye/FULL_demoRCPR.m
Local_mirror/rcpr_v1_stable_right_eye/FULL_demoRCPR.m
Local_mirror/rcpr_v1_stable_nose/FULL_demoRCPR.m
Local_mirror/rcpr_v1_stable_mouse/FULL_demoRCPR.m

Run the following file:

Local_mirror/Integration.m

Local_correction_model:

Run the following file:

correction_model/Correlation_model/zhenshi_jiance.m
correction_model/Correlation_model/jiance_jingxiang.m
correction_model/Correlation_model/myPearson.m

The local average correlation of mirror error and localization error on the COFW dataset:

correction_model/dingquezhi_tichu.m
correction_model/zhengli.m

In the following figure, the red markers in the rst row is unreliable results and the green markers in the first row is reliable results. The second row is the adjusted results on the HELEN dataset.

Results:

Here is the results and some examples on COFW datasets. More results is shown in the folder "results".

Results on COFW datasets:

Examples of facial landmark localization comparison on COFW. The rows from top to button are the examples of RCPR, HPM, RICPR and TSCPR(Ours), respectively.

More examples on COFW datasets:

About

No description, website, or topics provided.

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.