Face recognitionwithcamera by BH_Lin

11
Ver. 1 Concept of face recognition 3/29/17 Powred by BH_Lin 1 [1] Sample Gathering [2] Face Recognition Collect pictures Check Availability Manual Auto File Management [3] Staff attendance recording Record View to check records

Transcript of Face recognitionwithcamera by BH_Lin

Page 1: Face recognitionwithcamera by BH_Lin

Ver.1 Conceptoffacerecognition

3/29/17 PowredbyBH_Lin 1

[1]SampleGathering

[2]FaceRecognition

Collectpictures

CheckAvailability

Manual

Auto

FileManagement

[3]Staffattendance

recording

Record

Viewtocheckrecords

Page 2: Face recognitionwithcamera by BH_Lin

Ver.1 Tooltocheckfaceinpicture.

3/29/17 PowredbyBH_Lin 2

*Purpose:*Checkthepicture’savailabilitybeforeaddingpicturesintodatabase.*Managepictures.

Solution[1]:WebInterfacewithServerhost

Solution[2]:macOS app

[A] [B] [C]

Solution[3]: Commandlineonly

Page 3: Face recognitionwithcamera by BH_Lin

Ver.1 Tooltocheckfaceinpicture.

3/29/17 PowredbyBH_Lin 3

Solution[1]:WebInterfacewithServerhost

[A] [B] [C]

SupportDragandDropandFileuploading

Receivefileandinitiate

localprocesstoanalyze

Analyzeimagefile

Page 4: Face recognitionwithcamera by BH_Lin

Ver.1 Tooltocapturefacesforspecificperson(CommandLineVersion)

3/29/17 PowredbyBH_Lin 4

pythoninputface.py {ID}

$pythoninputface.py 1

- NeedtocheckexistedfileswithsameID.- Continuecapturingfilewithfaceandsavingfile.

Page 5: Face recognitionwithcamera by BH_Lin

Ver.1 Tooltocapturefacesforspecificperson(macOSVersion)

3/29/17 PowredbyBH_Lin 5

##Checkthevalidityofthepicture

Page 6: Face recognitionwithcamera by BH_Lin

Ver.1 Pointstocheckimage

3/29/17 PowredbyBH_Lin 6

If(length(faces)>0)

If(length(faces)==1)

Face.size >Image.size/10

Page 7: Face recognitionwithcamera by BH_Lin

Ver.1 Scriptforfacerecognition

3/29/17 PowredbyBH_Lin 7

Inputimagewithlabel

Training

Predict

Mappinglabel

A

B

C

D

Page 8: Face recognitionwithcamera by BH_Lin

Ver.1 Picturesinfolder“yalefaces”

3/29/17 PowredbyBH_Lin 8

Subject{ID}.{CHARACTERISTIC}.{IMG_NUMBER}.{FILEFORMAT}

subject1.normal.1.png

subject1.normal.11.png

Page 9: Face recognitionwithcamera by BH_Lin

Ver.1 ControlPanelforintegration

3/29/17 PowredbyBH_Lin 9

Page 10: Face recognitionwithcamera by BH_Lin

CameraforFaceRecognition

3/29/17 http://studiobinghuan.blogspot.tw@BH_Lin

Line1

Line2

Page 11: Face recognitionwithcamera by BH_Lin

FlowtorecognizefaceforID

3/29/17 http://studiobinghuan.blogspot.tw@BH_Lin

label timestamp

XXXX YYYY/MM/DDHH:MM:SS

Thelabelwillbethesameas“ID”

Forinstance:

Label=“E1234001”Timestamp=“YYYY/MM/DDHH:MM:SS”

Walkingline

Imagecapturing

Predict

Getlabel