Méthode | Description | |
---|---|---|
InitializeGpio ( ) : void |
Called once, when the app is first opened. Initializes device GPIO.
|
|
InitializeOxford ( ) : void |
Called once, when the app is first opened. Initializes Oxford facial recognition.
|
|
MainPage ( ) : FacialRecognitionDoor.FacialRecognition |
Called when the page is first navigated to.
|
Méthode | Description | |
---|---|---|
OnNavigatedTo ( |
Triggered every time the page is navigated to.
|
Méthode | Description | |
---|---|---|
DoorBellPressed ( Windows.Devices.Gpio.GpioPin sender, Windows.Devices.Gpio.GpioPinValueChangedEventArgs args ) : void |
Triggered when user presses physical door bell button
|
|
DoorbellButton_Click ( object sender, |
Triggered when user presses virtual doorbell app bar button
|
|
DoorbellPressed ( ) : System.Threading.Tasks.Task |
Called when user hits physical or vitual doorbell buttons. Captures photo of current webcam view and sends it to Oxford for facial recognition processing.
|
|
NewUserButton_Click ( object sender, |
Called when user hits vitual add user button. Navigates to NewUserPage page.
|
|
ShutdownButton_Click ( object sender, |
Triggered when the user selects the Shutdown button in the app bar. Closes app.
|
|
UnlockDoor ( string visitorName ) : void |
Unlocks door and greets visitor
|
|
UpdateWhitelistedVisitors ( ) : void |
Updates internal list of of whitelisted visitors (whitelistedVisitors) and the visible UI grid
|
|
UpdateWhitelistedVisitorsGrid ( ) : void |
Updates UserInterface list of whitelisted users from the list of Visitor objects (WhitelistedVisitors)
|
|
UpdateWhitelistedVisitorsList ( ) : System.Threading.Tasks.Task |
Updates the list of Visitor objects with all whitelisted visitors stored on disk
|
|
WebcamFeed_Loaded ( object sender, |
Triggered when webcam feed loads both for the first time and every time page is navigated to. If no WebcamHelper has been created, it creates one. Otherwise, simply restarts webcam preview feed on page.
|
|
WhitelistedUsersGrid_ItemClick ( object sender, |
Triggered when the user selects a visitor in the WhitelistedUsersGrid
|
|
WhitelistedUsersGrid_Loaded ( object sender, |
Triggered when the whitelisted users grid is loaded. Sets the size of each photo within the grid.
|
|
speechMediaElement_Loaded ( object sender, |
Triggered when media element used to play synthesized speech messages is loaded. Initializes SpeechHelper and greets user.
|
public MainPage ( ) : FacialRecognitionDoor.FacialRecognition | ||
Résultat | FacialRecognitionDoor.FacialRecognition |
protected OnNavigatedTo ( |
||
e | ||
Résultat | void |