TWI578184B - Password inputting method based on eye's opening and closing state and security apparatus using the same - Google Patents

Password inputting method based on eye's opening and closing state and security apparatus using the same Download PDF

Info

Publication number
TWI578184B
TWI578184B TW102148804A TW102148804A TWI578184B TW I578184 B TWI578184 B TW I578184B TW 102148804 A TW102148804 A TW 102148804A TW 102148804 A TW102148804 A TW 102148804A TW I578184 B TWI578184 B TW I578184B
Authority
TW
Taiwan
Prior art keywords
eye
preset
code
state
blink
Prior art date
Application number
TW102148804A
Other languages
Chinese (zh)
Other versions
TW201525752A (en
Inventor
鄒嘉駿
許佳微
Original Assignee
由田新技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 由田新技股份有限公司 filed Critical 由田新技股份有限公司
Priority to TW102148804A priority Critical patent/TWI578184B/en
Priority to CN201410083536.4A priority patent/CN104750240B/en
Priority to CN201410466599.8A priority patent/CN104751114B/en
Priority to US14/510,131 priority patent/US10049271B2/en
Priority to JP2014253345A priority patent/JP5922214B2/en
Publication of TW201525752A publication Critical patent/TW201525752A/en
Application granted granted Critical
Publication of TWI578184B publication Critical patent/TWI578184B/en

Links

Landscapes

  • Lock And Its Accessories (AREA)

Description

基於眼部開闔狀態的密碼輸入方法及應用其之保全裝置 Password input method based on eye opening state and security device applying the same

本發明是有關於一種密碼輸入方法,且特別是有關於一種基於使用者的眼部開闔狀態的密碼輸入方法及應用其之保全裝置。 The present invention relates to a password input method, and more particularly to a password input method based on a user's eye opening state and a security device using the same.

現有的密碼輸入方法是使用鍵盤將作為密碼的數字、文字或符號輸入一裝置或機器,若所輸入的字符與預設的密碼相符,則通過認證,然後開啟該裝置或開啟再該裝置中執行的一程序。 The existing password input method is to input a number, a character or a symbol as a password into a device or a machine by using a keyboard, and if the input character matches the preset password, pass the authentication, and then turn on the device or turn on the device to execute. a program.

但是在輸入密碼的過程中,如果遭受到旁人窺視,則密碼會有外洩之虞,或者藉由偵測鍵盤上殘留的指紋或溫度,也可以竊取或複製密碼。即便是最先進的虹膜識別,也無法確認使用者是在具有自由意志的情況下輸入密碼,而利用掌紋及指紋辨識的裝置,指紋及掌紋可以複製,同樣地,也可能無法確認人員是 在具有自由意志的狀態下輸入密碼。 However, in the process of entering the password, if the person is peeped, the password may be leaked, or the password may be stolen or copied by detecting the fingerprint or temperature remaining on the keyboard. Even with the most advanced iris recognition, it is impossible to confirm that the user enters the password with free will. However, with the palmprint and fingerprint identification device, the fingerprint and the palm print can be copied. Similarly, the person may not be confirmed. Enter your password with free will.

本發明提供一種基於眼部開闔狀態的密碼輸入方法及應用其之保全裝置,其可藉偵測使用者所做出的眼部開闔狀態來解除鎖具的鎖定狀態。 The invention provides a password input method based on an eye opening state and a security device using the same, which can unlock the locked state of the lock by detecting an eye opening state made by the user.

本發明的基於眼部開闔狀態的密碼輸入方法適用於鎖具。所述密碼輸入方法包括以下步驟:透過取像單元擷取影像序列;分析影像序列,藉以獲得在影像序列中使用者的眼部區域的眼部影像資訊;基於眼部影像資訊偵測使用者的睜眼狀態與閉眼狀態;轉換複數個睜眼狀態及閉眼狀態成眼部開闔狀態編碼;判斷眼部開闔狀態編碼是否符合預設解鎖密碼;以及依據判斷的結果決定是否解除鎖具的鎖定狀態。 The password input method based on the eye opening state of the present invention is applied to a lock. The password input method includes the steps of: capturing an image sequence through the image capturing unit; analyzing the image sequence to obtain eye image information of the user's eye region in the image sequence; and detecting the user based on the eye image information Blinking state and closed eye state; converting a plurality of blinking states and closed eye states into an eye opening state code; determining whether the eye opening state code conforms to a preset unlocking password; and determining whether to unlock the locked state according to the result of the determining .

在本發明一實施例中,依據判斷的結果決定是否解除鎖具的鎖定狀態的步驟包括:當眼部開闔狀態編碼符合預設解鎖密碼時,解除鎖具的鎖定狀態;以及當眼部開闔狀態編碼不符合預設解鎖密碼時,維持鎖具的鎖定狀態。 In an embodiment of the invention, the step of deciding whether to unlock the lock state according to the result of the determination comprises: releasing the lock state of the lock when the eye open state code conforms to the preset unlock code; and when the eye is open When the code does not match the preset unlock password, the lock state of the lock is maintained.

在本發明一實施例中,基於眼部影像資訊偵測使用者的睜眼狀態與閉眼狀態的步驟包括:基於眼部影像資訊搜尋眼部區域內的眼部物件;以及依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態。 In an embodiment of the invention, the step of detecting the blinking state and the closed eye state of the user based on the eye image information includes: searching for the eye object in the eye region based on the eye image information; and according to the size of the eye object It is judged that the eye area is in a blinking state or a closed eye state.

在本發明一實施例中,依據眼部物件的尺寸判斷眼部區 域處於睜眼狀態或閉眼狀態的步驟包括:計算眼部物件的高度與寬度;判斷眼部物件的高度是否小於高度門檻值,且眼部物件的寬度是否大於寬度門檻值;當眼部物件的高度小於高度門檻值,且眼部物件的寬度大於寬度門檻值時,判定眼部區域處於閉眼狀態;以及當眼部物件的高度大於等於高度門檻值,或眼部物件的寬度小於等於寬度門檻值時,判定眼部區域處於睜眼狀態。 In an embodiment of the invention, the eye area is determined according to the size of the eye object The step of the field in the blinking state or the closed eye state includes: calculating the height and width of the eye object; determining whether the height of the eye object is less than the height threshold value, and whether the width of the eye object is greater than the width threshold; when the eye object is When the height is less than the height threshold value, and the width of the eye object is greater than the width threshold value, it is determined that the eye region is in the closed eye state; and when the height of the eye object is greater than or equal to the height threshold value, or the width of the eye object is less than or equal to the width threshold value At the time, it is determined that the eye region is in a blinking state.

在本發明一實施例中,基於眼部開闔狀態的密碼輸入方法,更包括:於搜尋到眼部物件後,辨識眼部物件的生物特徵資訊;當生物特徵資訊符合預設使用者資訊時,進行依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態的步驟;以及當生物特徵資訊不符合預設使用者資訊時,停止進行依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態的步驟。 In an embodiment of the present invention, the password input method based on the eye opening state further includes: identifying the biometric information of the eye object after searching for the eye object; and when the biometric information conforms to the preset user information a step of determining whether the eye region is in a blinking state or a closed eye state according to the size of the eye object; and when the biometric information does not conform to the preset user information, stopping determining that the eye region is in accordance with the size of the eye object The steps of the eye state or the closed eye state.

在本發明一實施例中,轉換複數個睜眼狀態及閉眼狀態成眼部開闔狀態編碼的步驟包括:偵測眼部區域於單位時間內的狀態;當偵測到眼部區域於單位時間內處於睜眼狀態時,產生第一編碼;當偵測到眼部區域於單位時間內處於閉眼狀態時,產生一第二編碼;以及將預設時間內之基於複數個睜眼狀態與閉眼狀態所產生的複數個第一與第二編碼,依序排列組成眼部開闔狀態編碼。 In an embodiment of the invention, the step of converting the plurality of blink states and the closed eyes state into the eye opening state code comprises: detecting the state of the eye region in the unit time; and detecting the eye region in the unit time When the inside is in the blinking state, the first encoding is generated; when the eye region is detected to be in the closed eye state per unit time, a second encoding is generated; and the plurality of blinking states and closed eye states are set in the preset time The generated plurality of first and second codes are sequentially arranged to form an eye opening state code.

在本發明一實施例中,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟包括:比對眼部開闔狀態編碼與預設解鎖密碼中的每一位元;當眼部開闔狀態編碼中的每一位元皆符合預設 解鎖密碼時,判定眼部開闔狀態編碼符合預設解鎖密碼;以及當眼部開闔狀態編碼中的至少一位元不符合預設解鎖密碼時,判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: comparing each bit in the eye opening state code and the preset unlocking password; when the eye is open Each bit in the status code is in accordance with the preset When the password is unlocked, it is determined that the eye opening state code conforms to the preset unlocking password; and when at least one of the eye opening state codes does not conform to the preset unlocking password, determining that the eye opening state code does not conform to the preset Unlock your password.

在本發明一實施例中,預設解鎖密碼包括預設眨眼次數,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟包括:定義連續產生的第一與第二編碼為眨眼編碼;計數於眼部開闔狀態編碼中眨眼編碼出現的眨眼次數;比較眨眼次數與預設眨眼次數;當眨眼次數等於預設眨眼次數時,判定眼部開闔狀態編碼符合預設解鎖密碼;以及當眨眼次數不等於預設眨眼次數時,判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the present invention, the preset unlocking password includes a preset blinking number, and the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: defining the continuously generated first and second encodings as blinking codes; counting The number of blinks appearing in the blink code of the eye opening state code; comparing the number of blinks with the preset number of blinks; when the number of blinks is equal to the preset number of blinks, determining that the eye open state code conforms to the preset unlock password; When the number of times is not equal to the preset number of blinks, it is determined that the eye open state code does not match the preset unlock password.

在本發明一實施例中,預設解鎖密碼包括預設眨眼頻率範圍,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟包括:定義連續產生的第一與第二編碼為眨眼編碼;計算於眼部開闔狀態編碼中眨眼編碼出現的眨眼頻率;判斷眨眼頻率是否位於預設眨眼頻率範圍內;當眨眼頻率位於預設眨眼頻率範圍內時,判定眼部開闔狀態編碼符合預設解鎖密碼;以及當眨眼次數位於預設眨眼頻率範圍外時,判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the present invention, the preset unlocking password includes a preset blink frequency range, and the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: defining the continuously generated first and second codes to be blink codes; Calculate the blink frequency of the blink code in the eye open state code; determine whether the blink frequency is within the preset blink frequency range; when the blink frequency is within the preset blink frequency range, determine that the eye open state code conforms to the preset The unlock password is determined; and when the number of blinks is outside the preset blink frequency range, it is determined that the eye open state code does not match the preset unlock password.

在本發明一實施例中,預設解鎖密碼包括預設睜眼時間範圍,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟包括:計算於眼部開闔狀態編碼中第一編碼連續出現的持續睜眼時間;判斷持續睜眼時間是否位於預設睜眼時間範圍內;當持續睜 眼時間位於預設睜眼時間範圍內時,判定眼部開闔狀態編碼符合預設解鎖密碼;以及當持續睜眼時間位於預設睜眼時間範圍外時,判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the present invention, the preset unlocking password includes a preset blink time range, and the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: calculating the first code consecutively in the eye opening state code The duration of the blink of an eye; whether the continuous blink time is within the preset blink time; When the eye time is within the preset blink time range, it is determined that the eye opening state code conforms to the preset unlocking code; and when the continuous blinking time is outside the preset blinking time range, determining that the eye opening state code does not match The default unlock password.

在本發明一實施例中,預設解鎖密碼包括預設閉眼時間範圍,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟包括:計算於眼部開闔狀態編碼中第二編碼連續出現的持續閉眼時間;判斷持續閉眼時間是否位於預設閉眼時間範圍內;當持續閉眼時間位於預設閉眼時間範圍內時,判定眼部開闔狀態編碼符合預設解鎖密碼;以及當持續閉眼時間位於預設閉眼時間範圍外時,判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the present invention, the preset unlocking password includes a preset closed eye time range, and the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: calculating that the second code continuously appears in the eye opening state code. Continuous eye-closing time; determine whether the continuous eye-closing time is within the preset eye-closing time range; when the continuous eye-closing time is within the preset eye-closing time range, determine that the eye opening state code conforms to the preset unlocking password; and when the continuous eye-closing time is located When the preset closed eye time range is out, it is determined that the eye opening state code does not conform to the preset unlocking password.

在本發明一實施例中,所述的基於眼部開闔狀態的密碼輸入方法,更包括以下步驟:判斷眼部開闔狀態編碼是否符合緊急求助密碼;以及當眼部開闔狀態編碼符合緊急求助密碼時,發出緊急求助信息。 In an embodiment of the present invention, the method for inputting a password based on an eye opening state further includes the steps of: determining whether an eye opening state code conforms to an emergency help password; and when the eye opening state code is in accordance with an emergency When the password is requested, an emergency help message is sent.

本發明的基於眼部開闔狀態進行解鎖的保全裝置包括鎖具、取像單元以及處理單元。取像單元用以擷取影像序列。處理單元耦接取像單元,用以分析影像序列,藉以獲得在影像序列中使用者的眼部區域的眼部影像資訊。其中,處理單元基於眼部影像資訊偵測使用者的睜眼狀態與閉眼狀態,轉換複數個睜眼狀態及閉眼狀態成眼部開闔狀態編碼,並據以判斷眼部開闔狀態編碼是否符合預設解鎖密碼,以依據判斷的結果決定是否解除鎖具的鎖定狀態。 The security device for unlocking based on the eye opening state of the present invention includes a lock, an image capturing unit, and a processing unit. The image capturing unit is used to capture an image sequence. The processing unit is coupled to the image capturing unit for analyzing the image sequence to obtain the eye image information of the user's eye region in the image sequence. The processing unit detects the blinking state and the closed eye state of the user based on the eye image information, converts the plurality of blinking states and the closed eye state into an eye opening state code, and determines whether the eye opening state code matches The default unlock password is used to decide whether to unlock the lock according to the result of the judgment.

在本發明一實施例中,當處理單元判斷眼部開闔狀態編碼符合預設解鎖密碼時,處理單元解除鎖具的鎖定狀態。當處理單元判斷眼部開闔狀態編碼不符合預設解鎖密碼時,處理單元維持鎖具的鎖定狀態。 In an embodiment of the invention, when the processing unit determines that the eye opening state code conforms to the preset unlocking password, the processing unit releases the locked state of the lock. When the processing unit determines that the eye opening state code does not conform to the preset unlocking password, the processing unit maintains the locked state of the lock.

在本發明一實施例中,處理單元基於眼部影像資訊搜尋眼部區域內的眼部物件,並且依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態。 In an embodiment of the invention, the processing unit searches for an eye object in the eye region based on the eye image information, and determines that the eye region is in a blinking state or a closed eye state according to the size of the eye object.

在本發明一實施例中,處理單元偵測眼部物件的高度與寬度;當處理單元偵測到眼部物件的高度小於高度門檻值,且眼部物件的寬度大於寬度門檻值時,處理單元判定眼部區域處於閉眼狀態。當處理單元偵測到眼部物件的高度大於等於高度門檻值,或眼部物件的寬度小於等於寬度門檻值時,處理單元判定眼部區域處於睜眼狀態。 In an embodiment of the invention, the processing unit detects the height and width of the eye object; when the processing unit detects that the height of the eye object is less than the height threshold and the width of the eye object is greater than the width threshold, the processing unit It is determined that the eye area is in a closed eye state. When the processing unit detects that the height of the eye object is greater than or equal to the height threshold, or the width of the eye object is less than or equal to the width threshold, the processing unit determines that the eye region is in a blink state.

在本發明一實施例中,處理單元於搜尋到眼部物件後,先行辨識眼部物件的生物特徵資訊。當生物特徵資訊符合預設使用者資訊時,再進行依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態的動作;以及當生物特徵資訊不符合預設使用者資訊時,停止進行依據眼部物件的尺寸判斷眼部區域處於睜眼狀態或閉眼狀態的動作。 In an embodiment of the invention, the processing unit first identifies the biometric information of the eye object after searching for the eye object. When the biometric information conforms to the preset user information, the action of determining the eye region in the blinking state or the closed eye state according to the size of the eye object is performed; and when the biometric information does not meet the preset user information, the operation is stopped. The action of the eye region in the blinking state or the closed eye state is determined according to the size of the eye object.

在本發明一實施例中,處理單元偵測眼部區域於單位時間內的狀態。當處理單元偵測到眼部區域於單位時間內處於睜眼狀態時,處理單元產生第一編碼。當處理單元偵測到眼部區域於 單位時間內處於閉眼狀態時,處理單元產生第二編碼。處理單元將預設時間內之基於複數個睜眼狀態與閉眼狀態所產生的複數個第一與第二編碼,依序排列組成眼部開闔狀態編碼。 In an embodiment of the invention, the processing unit detects the state of the eye region in a unit time. When the processing unit detects that the eye region is in a blinking state per unit time, the processing unit generates the first code. When the processing unit detects the eye area The processing unit generates a second code when the unit is in the closed eye state. The processing unit sequentially aligns the plurality of first and second codes generated by the plurality of blink states and the closed eye state in the preset time to form an eye opening state code.

在本發明一實施例中,處理單元比對眼部開闔狀態編碼與預設解鎖密碼中的每一位元;當眼部開闔狀態編碼中的每一位元皆符合預設解鎖密碼時,處理單元判定眼部開闔狀態編碼符合預設解鎖密碼。當眼部開闔狀態編碼中的至少一位元不符合預設解鎖密碼時,該處理單元判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the processing unit compares each bit in the eye opening state code and the preset unlocking password; when each bit in the eye opening state code meets the preset unlocking password The processing unit determines that the eye opening state code conforms to the preset unlocking password. When at least one of the eye opening state codes does not meet the preset unlocking password, the processing unit determines that the eye opening state code does not conform to the preset unlocking password.

在本發明一實施例中,處理單元定義連續產生的第一與第二編碼為眨眼編碼。處理單元計數於眼部開闔狀態編碼中眨眼編碼出現的眨眼次數,並且比較眨眼次數與預設眨眼次數。當眨眼次數等於預設眨眼次數時,處理單元判定眼部開闔狀態編碼符合預設解鎖密碼。當眨眼次數不等於預設眨眼次數時,處理單元判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the processing unit defines that the first and second codes generated continuously are blink codes. The processing unit counts the number of blinks that appear in the blink code of the eye opening state code, and compares the number of blinks with the number of preset blinks. When the number of blinks is equal to the preset number of blinks, the processing unit determines that the eye open state code conforms to the preset unlock password. When the blinking number is not equal to the preset blinking number, the processing unit determines that the eye opening state code does not conform to the preset unlocking password.

在本發明一實施例中,處理單元定義連續產生的第一與第二編碼為眨眼編碼。處理單元計算於眼部開闔狀態編碼中眨眼編碼出現的眨眼頻率,並且判斷眨眼頻率是否位於預設眨眼頻率範圍內。當眨眼頻率位於預設眨眼頻率範圍內時,處理單元判定眼部開闔狀態編碼符合預設解鎖密碼。當眨眼次數位於預設眨眼頻率範圍外時,處理單元判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the processing unit defines that the first and second codes generated continuously are blink codes. The processing unit calculates the blink frequency in which the blink code appears in the eye opening state code, and determines whether the blink frequency is within the preset blink frequency range. When the blink frequency is within the preset blink frequency range, the processing unit determines that the eye open state code conforms to the preset unlock password. When the number of blinks is outside the preset blink frequency range, the processing unit determines that the eye open state code does not conform to the preset unlock password.

在本發明一實施例中,處理單元計算於眼部開闔狀態編碼中第一編碼連續出現的持續睜眼時間,並且判斷持續睜眼時間是否位於預設睜眼時間範圍內。當持續睜眼時間位於預設睜眼時間範圍內時,處理單元判定眼部開闔狀態編碼符合預設解鎖密碼。當持續睜眼時間位於預設睜眼時間範圍外時,處理單元判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the processing unit calculates a continuous blink time in which the first code appears continuously in the eye opening state code, and determines whether the continuous blink time is within the preset blink time range. When the continuous blink time is within the preset blink time range, the processing unit determines that the eye open state code conforms to the preset unlock password. When the continuous blink time is outside the preset blink time range, the processing unit determines that the eye open state code does not conform to the preset unlock password.

在本發明一實施例中,處理單元計算於眼部開闔狀態編碼中第二編碼連續出現的持續閉眼時間,並且判斷持續閉眼時間是否位於預設閉眼時間範圍內。當持續閉眼時間位於預設閉眼時間範圍內時,處理單元判定眼部開闔狀態編碼符合預設解鎖密碼。當持續閉眼時間位於預設閉眼時間範圍外時,處理單元判定眼部開闔狀態編碼不符合預設解鎖密碼。 In an embodiment of the invention, the processing unit calculates a continuous closed eye time in which the second code continuously appears in the eye opening state code, and determines whether the continuous eye closing time is within the preset closed eye time range. When the continuous eye closing time is within the preset closed eye time range, the processing unit determines that the eye opening state code conforms to the preset unlocking password. When the continuous eye closing time is outside the preset closed eye time range, the processing unit determines that the eye opening state code does not conform to the preset unlocking password.

在本發明一實施例中,處理單元更判斷眼部開闔狀態編碼是否符合緊急求助密碼,以及當眼部開闔狀態編碼符合緊急求助密碼時,處理單元發出緊急求助信息。 In an embodiment of the invention, the processing unit further determines whether the eye opening state code conforms to the emergency help password, and when the eye opening state code conforms to the emergency help password, the processing unit issues emergency help information.

在本發明一實施例中,所述的基於眼部開闔狀態進行解鎖的保全裝置更包括門體。鎖具設置於門體上並用以控制門體的開啟或關閉。 In an embodiment of the invention, the security device that is unlocked based on the eye opening state further includes a door body. The lock is arranged on the door body and is used to control the opening or closing of the door body.

在本發明一實施例中,所述的基於眼部開闔狀態進行解鎖的保全裝置更包括提示單元,其用以提示鎖具的目前配置狀態。 In an embodiment of the invention, the security device for unlocking based on the eye opening state further includes a prompting unit for prompting the current configuration state of the lock.

基於上述,本發明實施例提出一種基於眼部開闔狀態的密碼輸入方法及應用其之保全裝置。所述密碼輸入方法可利用特 定的眼部動作(例如眨眼、持續睜眼及/或持續閉眼)作為解除鎖具的鎖定狀態的解鎖密碼。由於使用者的眼部動作難以為旁人所窺視或察覺,因此應用所述密碼輸入方法的保險箱、門禁系統或其他類型的保全裝置的安全性可大幅地提高,並且可防止密碼外洩的問題。 Based on the above, the embodiment of the present invention provides a password input method based on an eye opening state and a security device using the same. The password input method can utilize special A fixed eye movement (such as blinking, continuous blinking, and/or continuous closing of the eye) as an unlocking code for unlocking the lock. Since the eye movement of the user is difficult to be peeped or perceived by others, the safety of the safe, the access control system or other type of security device to which the password input method is applied can be greatly improved, and the problem of password leakage can be prevented.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧保全裝置 100‧‧‧Security device

110、810、910‧‧‧鎖具 110, 810, 910‧‧‧ locks

120、820、920‧‧‧取像單元 120, 820, 920‧‧‧ image capture unit

130、830、930‧‧‧處理單元 130, 830, 930 ‧ ‧ processing unit

140、940‧‧‧提示單元 140, 940‧‧ ‧ prompt unit

410‧‧‧眼部物件 410‧‧‧Eye objects

800‧‧‧保險箱 800‧‧‧ safe

840‧‧‧箱體 840‧‧‧ cabinet

850‧‧‧防護門 850‧‧‧ protective door

860、960‧‧‧罩體 860, 960‧‧ ‧ cover

900‧‧‧門禁系統 900‧‧‧Access Control System

950‧‧‧門體 950‧‧‧

B1‧‧‧第一編碼 B1‧‧‧ first code

B2‧‧‧第二編碼 B2‧‧‧Second code

BB‧‧‧眨眼編碼 BB‧‧‧Eye code

L1、L2‧‧‧眼部物件的高度 L1, L2‧‧‧ height of eye objects

PUC、PUC’‧‧‧眨眼動作編碼 PUC, PUC’‧‧‧ Eye Movement Code

PT‧‧‧預設時間 PT‧‧‧Preset time

TD1、TD2、TD1’、TD2’‧‧‧時間間隔 TD1, TD2, TD1', TD2'‧‧‧ time interval

COT、COT’、CCT、CCT’‧‧‧時間長度 Length of COT, COT’, CCT, CCT’‧‧‧

UT‧‧‧單位時間 UT‧‧‧ unit time

W1、W2‧‧‧眼部物件的寬度 W1, W2‧‧‧ Width of eye objects

S200~S250、S300~S370、S341~S345、S351A~S358A、S351B~S358B、S352C~S358C、S352D~S358D、S352E~S358E、S810~S820‧‧‧步驟 S200~S250, S300~S370, S341~S345, S351A~S358A, S351B~S358B, S352C~S358C, S352D~S358D, S352E~S358E, S810~S820‧‧

圖1為本發明一實施例之基於眼部開闔狀態進行解鎖的保全裝置的功能方塊示意圖。 FIG. 1 is a functional block diagram of a security device for unlocking based on an eye opening state according to an embodiment of the present invention.

圖2為本發明一實施例之基於眼部開闔狀態的密碼輸入方法的步驟流程圖。 2 is a flow chart showing the steps of a password input method based on an eye opening state according to an embodiment of the present invention.

圖3為本發明另一實施例之基於眼部開闔狀態的密碼輸入方法的步驟流程圖。 FIG. 3 is a flow chart showing the steps of a password input method based on an eye opening state according to another embodiment of the present invention.

圖4A為依照圖3的一實施例之判斷眼部區域的狀態的步驟流程圖。 4A is a flow chart showing the steps of determining the state of an eye region in accordance with an embodiment of FIG.

圖4B與4C為依照圖3的一實施例之判斷眼部區域的狀態的示意圖。 4B and 4C are schematic diagrams showing the state of the eye region in accordance with an embodiment of FIG.

圖5為依照圖3的一實施例之轉換睜眼狀態及閉眼狀態成眨眼動作編碼的步驟流程圖。 FIG. 5 is a flow chart showing the steps of converting the blink state and the closed eye state into a blink motion code according to an embodiment of FIG. 3.

圖6A至圖6E為依照圖3的不同實施例之判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟流程圖。 6A-6E are flow diagrams showing the steps of determining whether an eye opening state code conforms to a preset unlocking password in accordance with various embodiments of FIG.

圖7A至圖7E為分別對應圖6A至圖6E的不同實施例之眼部開闔狀態編碼的編碼格式示意圖。 7A-7E are schematic diagrams of coding formats of eye opening state codes corresponding to different embodiments of FIGS. 6A-6E, respectively.

圖8為本發明一實施例之判斷是否發生緊急狀況的步驟流程圖。 FIG. 8 is a flow chart showing the steps of determining whether an emergency situation has occurred according to an embodiment of the present invention.

圖9為本發明一實施例之基於眼部開闔狀態進行解鎖的門禁系統示意圖。 FIG. 9 is a schematic diagram of an access control system for unlocking based on an eye opening state according to an embodiment of the invention.

為了使本揭露之內容可以被更容易明瞭,以下特舉實施例作為本揭露確實能夠據以實施的範例。於此,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟,係代表相同或類似部件。另外,在實施方式中所述及之“上”、“下”、“左”、“右”等敘述皆係參照圖式所繪示之方向而言,其並非用以限定本發明,於此合先敘明。 In order to make the disclosure of the present disclosure easier to understand, the following specific embodiments are examples that can be implemented by the present disclosure. Here, wherever possible, the same reference numerals are used in the drawings and the embodiments and the In addition, in the embodiments, the terms "upper", "lower", "left", "right", etc. are used to refer to the directions illustrated in the drawings, which are not intended to limit the invention. First described.

圖1為本發明一實施例之基於眼部開闔狀態進行解鎖的保全裝置的功能方塊示意圖。請參照圖1,所述基於眼部開闔狀態進行解鎖的保全裝置100包括鎖具110、取像單元120以及處理單元130。於此,所述保全裝置100可例如為保險箱、門禁系統(容後詳述)或其他類型需驗證使用者的資格(qualification)以決定是否提供使用者一特定權限之保全系統/裝置等,本發明不限定所 述保全裝置100的具體類型。 FIG. 1 is a functional block diagram of a security device for unlocking based on an eye opening state according to an embodiment of the present invention. Referring to FIG. 1 , the security device 100 for unlocking based on the eye opening state includes a lock 110 , an image capturing unit 120 , and a processing unit 130 . Here, the security device 100 can be, for example, a safe, an access control system (described in detail later), or other types of qualifications that require verification of the user to determine whether to provide the user with a specific authority for the security system/device, etc. Invention is not limited to The specific type of security device 100 is described.

在本實施例中,取像單元120可用以沿特定方向(視取像單元120的配置位置/角度而定)擷取一影像序列IS,即,連續擷取多張影像,並提供給處理單元130。處理單元130耦接取像單元120。處理單元130對取像單元120所擷取的影像序列IS進行影像處理與分析,藉以獲得使用者的眼部區域在影像序列IS中的眼部影像資訊。 In this embodiment, the image capturing unit 120 can be used to capture an image sequence IS in a specific direction (depending on the arrangement position/angle of the image capturing unit 120), that is, continuously capture multiple images and provide them to the processing unit. 130. The processing unit 130 is coupled to the image capturing unit 120. The processing unit 130 performs image processing and analysis on the image sequence IS captured by the image capturing unit 120 to obtain eye image information in the image sequence IS of the user's eye region.

基此,處理單元130即可根據所獲得之眼部影像資訊來偵測使用者的眼部開闔狀態(包括睜眼狀態及閉眼狀態),再判斷使用者連續睜眼狀態或閉眼狀態是否符合一預設解鎖密碼(可儲存於一儲存單元中(未繪示))。處理單元130依據判斷的結果決定是否發出對應的控制訊號S_C,來切換鎖具110的配置狀態,為鎖定狀態或解鎖狀態。即,鎖具110會反應於處理單元130的控制訊號S_C而鎖定或解除鎖定。在本實施例中,處理單元130例如為中央處理單元(Central Processing Unit,CPU)、圖形處理單元(Graphics Processing Unit,GPU),或是其他可程式化之微處理器(Microprocessor)等裝置。 Based on the obtained eye image information, the processing unit 130 can detect the user's eye opening state (including the blinking state and the closed eye state), and then determine whether the user's continuous blinking state or closed eye state is consistent. A default unlock password (can be stored in a storage unit (not shown)). The processing unit 130 determines whether to issue the corresponding control signal S_C according to the result of the determination, and switches the configuration state of the lock 110 to a locked state or an unlocked state. That is, the lock 110 is locked or unlocked in response to the control signal S_C of the processing unit 130. In this embodiment, the processing unit 130 is, for example, a central processing unit (CPU), a graphics processing unit (GPU), or other programmable microprocessor (Microprocessor).

此外,在本實施例的保全裝置100中,其可選擇性地設置一提示單元140。所述提示單元140可用以提示鎖具110的目前配置狀態,如鎖具110係處於鎖定狀態或解鎖狀態。於此,提示單元140可利用文字顯示、燈號顯示、語音提示或任何其他可行的提示方式以令使用者可分辨出鎖具110當下的狀態,本發明不 以此為限。 Further, in the security device 100 of the present embodiment, a prompting unit 140 can be selectively provided. The prompting unit 140 can be used to indicate the current configuration state of the lock 110, such as the lock 110 being in a locked state or an unlocked state. Here, the prompting unit 140 can use the text display, the light number display, the voice prompt or any other feasible prompting manner to enable the user to distinguish the current state of the lock 110, the present invention does not This is limited to this.

所述保全裝置100可基於如圖2所示之步驟流程來執行基於使用者的眼部開闔狀態決定是否解除鎖具110的鎖定狀態的動作。 The security device 100 can perform an action of deciding whether to release the lock state of the lock 110 based on the user's eye opening state based on the step flow shown in FIG. 2 .

圖2為本發明一實施例之基於眼部開闔狀態的密碼輸入方法的步驟流程圖。請同時參照圖1與圖2,首先,透過取像單元120擷取影像序列IS(步驟S200)。之後,透過處理單元130來分析影像序列IS,藉以獲得影像序列IS中使用者的眼部區域的眼部影像資訊(步驟S210)。接著,處理單元130會基於上述眼部影像資訊來偵測使用者的眼部開闔狀態(包含睜眼狀態與閉眼狀態)(步驟S220)。 2 is a flow chart showing the steps of a password input method based on an eye opening state according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 simultaneously, first, the image sequence IS is captured by the image capturing unit 120 (step S200). Thereafter, the image sequence IS is analyzed by the processing unit 130 to obtain eye image information of the eye region of the user in the image sequence IS (step S210). Next, the processing unit 130 detects the eye opening state (including the blinking state and the closed eye state) of the user based on the eye image information (step S220).

在偵測出使用者的眼部開闔狀態後,處理單元130會將所偵測到的複數個睜眼狀態與閉眼狀態轉換成眼部開闔狀態編碼(步驟S230),並據以判斷眼部開闔狀態編碼是否符合預設解鎖密碼(步驟S240)。於此所述之預設解鎖密碼可例如為眨眼的發生次數、發生頻率及/或睜眼或閉眼的持續時間等條件(後續實施例會進一步舉例說明)。基此,處理單元130即可依據上述判斷的結果而決定是否解除鎖具110的鎖定狀態(步驟S250)。 After detecting the open state of the user's eye, the processing unit 130 converts the detected plurality of blink states and closed eye states into an eye open state code (step S230), and determines the eye accordingly. Whether the partial opening state code conforms to the preset unlocking password (step S240). The preset unlocking password described herein may be, for example, the number of occurrences of blinking, the frequency of occurrence, and/or the duration of blinking or closing the eyes (further examples will be further exemplified). Based on the result of the above determination, the processing unit 130 can determine whether to release the locked state of the lock 110 (step S250).

底下以圖3實施例來進一步說明上述基於眼部開闔狀態進行解鎖的具體步驟流程。其中,圖3為本發明另一實施例之基於眼部開闔狀態的密碼輸入方法的步驟流程圖。於此,下述實施例皆係搭配圖1實施例的保全裝置100的硬體架構來進行說明, 但所述基於眼部開闔狀態的密碼輸入方法可應用在任何類型之保全裝置的硬體架構上,本發明不以此為限。 The flow of the specific steps of unlocking based on the eye opening state will be further described below with reference to the embodiment of FIG. 3. FIG. 3 is a flowchart of steps of a password input method based on an eye opening state according to another embodiment of the present invention. Herein, the following embodiments are described in conjunction with the hardware architecture of the security device 100 of the embodiment of FIG. However, the password input method based on the eye opening state can be applied to the hardware architecture of any type of security device, and the invention is not limited thereto.

請先參照圖3,在本實施例的密碼輸入方法中,同樣會先透過取像單元120擷取影像序列IS(步驟S300),以令處理單元130藉分析影像序列IS來獲得在影像序列IS中,使用者眼部區域的眼部影像資訊(步驟S310)。 Referring to FIG. 3, in the password input method of the embodiment, the image sequence IS is first captured by the image capturing unit 120 (step S300), so that the processing unit 130 obtains the image sequence IS by analyzing the image sequence IS. The eye image information of the user's eye area is displayed (step S310).

之後,處理單元130會基於眼部影像資訊,搜尋眼部區域內的眼部物件(步驟S320),並依據眼部物件的尺寸來判斷眼部物件是處於睜眼狀態或閉眼狀態(步驟S330)。接著,處理單元130會根據眼部物件的睜/閉眼狀態而偵測出使用者每一單位時間內的眼部開闔狀態,並據以將所偵測到的複數個睜眼狀態及閉眼狀態轉換成眼部開闔狀態編碼(步驟S340)。 After that, the processing unit 130 searches for the eye object in the eye region based on the eye image information (step S320), and determines whether the eye object is in the blink state or the closed eye state according to the size of the eye object (step S330). . Then, the processing unit 130 detects the eye opening state of the user per unit time according to the 睁/closed state of the eye object, and accordingly detects the plurality of blinking states and closed eye states. It is converted into an eye opening state code (step S340).

在取得使用者的眼部開闔狀態編碼後,處理單元130會將所取得的眼部開闔狀態編碼與預設解鎖密碼進行比較,以判斷使用者的眼部開闔狀態編碼是否符合預設解鎖密碼(步驟S350)。在鎖具110處於鎖定的狀態下,若步驟S350判斷為是,則處理單元130會解除鎖具110的鎖定狀態(即,鎖具110被切換至解鎖狀態)(步驟S360);反之,若判斷為否,則處理單元130會維持鎖具110的鎖定狀態(步驟S370)。從另一觀點而言,若鎖具110已處於解鎖的狀態,則無論步驟S350的判斷結果是否為是,鎖具110皆會維持在解鎖狀態。於此值得一提的是,在一範例實施例中,使用者還可在鎖具110處於解鎖的狀態下,藉由做出一組連 續的眼部動作,以利用對應所述連續的眨眼動作的眼部開闔狀態編碼來自行定義出預設解鎖密碼。當然,所述預設解鎖密碼亦可為設計者預先定義並儲存於保全裝置100的儲存單元(未繪示)中,本發明不以此為限。 After obtaining the eye opening state code of the user, the processing unit 130 compares the obtained eye opening state code with the preset unlocking password to determine whether the user's eye opening state code conforms to the preset. The password is unlocked (step S350). When the lock 110 is in the locked state, if the determination in step S350 is YES, the processing unit 130 releases the locked state of the lock 110 (ie, the lock 110 is switched to the unlocked state) (step S360); otherwise, if the determination is no, Then, the processing unit 130 maintains the locked state of the lock 110 (step S370). From another point of view, if the lock 110 is already in the unlocked state, the lock 110 will remain in the unlocked state regardless of whether the result of the determination in step S350 is YES. It is worth mentioning that in an exemplary embodiment, the user can also make a group connection when the lock 110 is unlocked. The continuation of the eye movement to define the preset unlocking password from the line using the eye opening state code corresponding to the continuous blinking action. Of course, the preset unlocking password may be pre-defined by the designer and stored in the storage unit (not shown) of the security device 100, and the invention is not limited thereto.

於此值得一提的是,在一範例實施例中,本實施例還可在搜尋到眼部物件(步驟S320)後,先行辨識使用者的眼部物件的生物特徵資訊(例如:虹膜或視網膜資訊),藉以確認使用者的身分。若使用者的身分正確,才進一步的執行後續的步驟S330~S370。若不正確,則停止/拒絕進行後續的眼部動作辨識步驟。 It is worth mentioning that, in an exemplary embodiment, the embodiment may further identify the biometric information of the user's eye object after searching for the eye object (step S320) (for example: iris or retina) Information) to confirm the identity of the user. If the user's identity is correct, the subsequent steps S330 to S370 are further performed. If not, stop/reject the subsequent eye movement recognition step.

底下以圖4A、圖5、圖6A~圖6E以及圖7A~圖7E實施例來分別說明上述判斷眼部物件狀態的步驟S330、轉換眼部開闔狀態編碼的步驟S340以及判斷眼部開闔狀態是否符合預設解鎖密碼的步驟S350的具體步驟流程。 The step S330 of determining the state of the eye object, the step S340 of switching the eye opening state coding, and the determination of the eye opening are respectively described below with reference to the embodiments of FIGS. 4A, 5, 6A to 6E, and 7A to 7E. The specific step procedure of step S350 of whether the status conforms to the preset unlock password.

圖4A為依照圖3的一實施例之判斷眼部區域的狀態的步驟流程圖。圖4B與4C為依照圖3的一實施例之判斷眼部區域的狀態的示意圖。請一併參照圖4A至圖4C,在處理單元130搜尋到眼部區域ER內的眼部物件410後,處理單元130可針對眼部影像資訊進行影像處理以獲得可明確指示出眼部物件邊界的影像資訊,以令處理單元130可依據所述影像資訊來計算出眼部物件410的尺寸(包含眼部物件410的高度與寬度)(步驟S332)。 4A is a flow chart showing the steps of determining the state of an eye region in accordance with an embodiment of FIG. 4B and 4C are schematic diagrams showing the state of the eye region in accordance with an embodiment of FIG. Referring to FIG. 4A to FIG. 4C , after the processing unit 130 searches for the eye object 410 in the eye region ER, the processing unit 130 can perform image processing on the eye image information to obtain a clear indication of the eye object boundary. The image information is such that the processing unit 130 can calculate the size of the eye object 410 (including the height and width of the eye object 410) according to the image information (step S332).

舉例來說,處理單元130可藉由調整眼部影像資訊的對 比度(例如調整增益值(gain)與偏移值(offset))以獲得一加強影像,接著再對加強影像依序進行去雜點、邊緣銳利化、二值化及再次邊緣銳利化等處理以獲得如圖4B所示的眼部物件410的影像。 For example, the processing unit 130 can adjust the pair of eye image information. The ratio (for example, adjusting the gain value and the offset value) to obtain a enhanced image, and then sequentially performing denoising, edge sharpening, binarization, and edge sharpening on the enhanced image. An image of the ocular article 410 as shown in FIG. 4B is obtained.

在偵測到眼部物件410並計算出眼部物件410的尺寸後,處理單元130會依據眼部物件410的尺寸來判斷眼部物件410的高度是否小於高度門檻值(例如,高度門檻值的範圍界於15~17個像素),且眼部物件410的寬度是否大於寬度門檻值(例如,寬度門檻值的範圍界於70~90個像素)(步驟S334)。其中,當處理單元130偵測到眼部物件410的高度小於高度門檻值且眼部物件的寬度大於寬度門檻值時,處理單元130即會判定眼部區域ER目前處於閉眼狀態(如圖4B下半部所示)(步驟S336);反之,若處理單元130偵測到眼部物件410不符合上述條件至少其中之一,則處理單元130即會判定眼部區域ER目前處於睜眼狀態(如圖4B上半部所示)(步驟S338)。 After detecting the eye object 410 and calculating the size of the eye object 410, the processing unit 130 determines whether the height of the eye object 410 is less than a height threshold according to the size of the eye object 410 (eg, a height threshold value). The range is between 15 and 17 pixels, and whether the width of the eye object 410 is greater than the width threshold (for example, the range of the width threshold is between 70 and 90 pixels) (step S334). When the processing unit 130 detects that the height of the eye object 410 is less than the height threshold and the width of the eye object is greater than the width threshold, the processing unit 130 determines that the eye region ER is currently in the closed state (as shown in FIG. 4B). If the processing unit 130 detects that the eye object 410 does not meet at least one of the above conditions, the processing unit 130 determines that the eye region ER is currently in a blinking state (eg, The upper half of Fig. 4B is shown) (step S338).

如圖4B所示,所述之眼部物件410的高度可例如為眼框邊界的上側頂點至下側頂點的距離(如高度L1、L2),而所述之眼部物件410的寬度可例如為眼框邊界的左側頂點至右側頂點的距離(如寬度W1、W2),但本發明不僅限於此。在其他實施例中,處理單元130亦可自行定義眼部物件410上的特徵點做為計算高度與寬度的依據。 As shown in FIG. 4B, the height of the eye object 410 can be, for example, the distance from the upper vertex to the lower vertex of the eye frame boundary (eg, heights L1, L2), and the width of the eye object 410 can be, for example, The distance from the left vertex to the right vertex of the eye frame boundary (e.g., the widths W1, W2), but the present invention is not limited thereto. In other embodiments, the processing unit 130 may also define feature points on the eye object 410 as the basis for calculating the height and width.

另外值得一提的是,本實施例雖係繪示根據單眼的影像 來辨識眼部區域ER為睜眼狀態或閉眼狀態,但本發明不以此為限。在其他實施例中,眼部區域ER的睜/閉眼狀態亦可同時根據使用者的左右眼影像來決定(例如:同時偵測到左右眼為閉眼時才判定眼部區域ER處於閉眼狀態)。或者,分別根據左右眼影像來獨立地定義出對應左眼區域(例如:眼部區域ER的左半部)的睜/閉眼狀態以及右眼區域(例如:眼部區域ER的右半部)的睜/閉眼狀態。 In addition, it is worth mentioning that this embodiment is based on the image of a single eye. The eye area ER is identified as a blinking state or a closed eye state, but the invention is not limited thereto. In other embodiments, the 睁/closed eye state of the eye region ER can also be determined according to the left and right eye images of the user (for example, when the left and right eyes are closed eyes, the eye region ER is determined to be in the closed eye state). Alternatively, the 睁/closed eye state corresponding to the left eye region (for example, the left half of the eye region ER) and the right eye region (for example, the right half of the eye region ER) are independently defined according to the left and right eye images, respectively.睁 / closed eye status.

在處理單元130判斷出眼部物件是處於睜眼狀態或閉眼狀態後,處理單元可依照圖5的步驟流程來進行轉換眼部開闔狀態編碼的步驟S340。 After the processing unit 130 determines that the eye object is in the blink state or the closed eye state, the processing unit may perform the step S340 of converting the eye opening state code according to the step flow of FIG. 5 .

圖5為依照圖3的一實施例之轉換睜眼狀態及閉眼狀態成眼部開闔狀態編碼的步驟流程圖。請參照圖5,在處理單元130判斷出眼部區域是處於睜眼狀態或閉眼狀態後,其會進一步偵測眼部物件於單位時間(可由設計者自行定義)內的狀態(步驟S341),並且判斷眼部區域於單位時間內是處於睜眼狀態抑或是閉眼狀態(步驟S342)。若於步驟S342中判斷眼部區域於單位時間內處於睜眼狀態,處理單元130即判定使用者作出睜眼動作,並據以產生第一編碼(步驟S343)。反之,若步驟S342中判斷眼部區域於單位時間內處於閉眼狀態,則處理單元130即判定使用者作出閉眼動作,並據以產生第二編碼(步驟S344)。於此,所述第一編碼例如為邏輯“1”,而所述第二編碼例如為邏輯“0”,但本發明不以此為限。在其他實施例中,對應至睜眼狀態的第一編 碼亦可為邏輯“0”,而對應至閉眼狀態的第二編碼亦可為邏輯“1”。 FIG. 5 is a flow chart showing the steps of converting the blink state and the closed eye state into an eye opening state code according to an embodiment of FIG. 3. Referring to FIG. 5, after the processing unit 130 determines that the eye region is in a blinking state or a closed eye state, it further detects the state of the eye object in a unit time (which can be defined by the designer) (step S341). And it is judged whether the eye region is in a blinking state or a closed eye state per unit time (step S342). If it is determined in step S342 that the eye region is in a blinking state per unit time, the processing unit 130 determines that the user has made a blinking motion, and accordingly generates a first code (step S343). On the other hand, if it is determined in step S342 that the eye region is in the closed eye state per unit time, the processing unit 130 determines that the user has made a closed eye motion, and accordingly generates a second code (step S344). Here, the first code is, for example, a logical “1”, and the second code is, for example, a logical “0”, but the invention is not limited thereto. In other embodiments, the first series corresponding to the blink state The code may also be a logical "0", and the second code corresponding to the closed eye state may also be a logical "1".

處理單元130會在一段預設時間(可視為多個單位時間所組成)內連續地取得使用者的複數個睜眼狀態及閉眼狀態,並且將預設時間內之基於複數個睜眼狀態及閉眼狀態所產生的複數個第一與第二編碼,依序排列組成眼部開闔狀態編碼(步驟S345)。其中,處理單元130會接續地進行比對眼部開闔狀態編碼與預設解鎖密碼的步驟S350,藉以判斷從使用者的眼部動作所取得的眼部開闔狀態編碼是否符合預設解鎖密碼。底下以圖6A至圖6E的步驟流程搭配圖7A至圖7E的眼部開闔狀態編碼的編碼格式示意來說明在不同的預設解鎖密碼下的判斷方式。其中,圖7A至圖7E的眼部開闔狀態編碼PUC與PUC’是處理單元130在預設時間PT內,連續地基於每一單位時間UT眼部物件的睜/閉眼狀態而依序轉換成的編碼序列(於此以12位元的編碼序列為例,但本發明不以此為限)。在眼部開闔狀態編碼PUC與PUC’中,基於睜眼狀態所產生的第一編碼B1係以邏輯“1”標示,而基於閉眼狀態所產生的第二編碼B2則係以邏輯“0”標示,但本發明不僅限於此。 The processing unit 130 continuously acquires a plurality of blinking states and closed eyes states of the user for a preset period of time (which may be composed of a plurality of unit time), and sets a plurality of blinking states and closed eyes for a preset time. The plurality of first and second codes generated by the state are sequentially arranged to constitute an eye opening state code (step S345). The processing unit 130 successively performs the step S350 of comparing the eye opening state code with the preset unlocking code, so as to determine whether the eye opening state code obtained from the user's eye motion conforms to the preset unlocking password. . The determination of the encoding mode under the different preset unlocking codes is illustrated by the coding sequence of the eye opening state coding of FIG. 7A to FIG. 7E with the step flow of FIG. 6A to FIG. 6E. The eye opening state encoding PUC and PUC′ of FIG. 7A to FIG. 7E are the processing unit 130 continuously converting into the 睁/closed eye state of the UT eye object in each unit time within the preset time PT. The coding sequence (this is exemplified by a 12-bit coding sequence, but the invention is not limited thereto). In the eye opening state coding PUC and PUC', the first code B1 generated based on the blink state is indicated by a logic "1", and the second code B2 generated based on the closed eye state is represented by a logic "0". Marked, but the invention is not limited to this.

請先參照圖6A,在本實施例中,預設解鎖密碼係被設定為一特定的眨眼次數。詳細而言,在本實施例的步驟S350中,處理單元130會將連續產生的第一與第二編碼定義為眨眼編碼(表示處理單元130連續產生第一與第二編碼時,使用者作出眨眼動 作)(步驟S351A),並且計數眼部開闔狀態編碼中眨眼編碼出現的次數(即,使用者的眨眼次數)(步驟S352A)。接著,處理單元130會比較眨眼次數與一預設眨眼次數,藉以判斷所計數的眨眼次數是否等於預設眨眼次數(步驟S354A)。其中,若處理單元130判斷眨眼次數等於預設眨眼次數,則判定使用者的眼部開闔狀態編碼符合預設解鎖密碼(步驟S356A),並且接續進行步驟S360以解除鎖具110的鎖定狀態;反之,若處理單元130判斷眨眼次數不等於預設眨眼次數,則判定使用者的眼部開闔狀態編碼不符合預設解鎖密碼(步驟S358A),並且接續進行步驟S370以維持鎖具110的鎖定狀態。 Referring first to FIG. 6A, in the embodiment, the preset unlocking password is set to a specific number of blinks. In detail, in step S350 of the embodiment, the processing unit 130 defines the continuously generated first and second codes as blink codes (indicating that the processing unit 130 continuously generates the first and second codes, the user makes a blink move (Step S351A), and counts the number of times the blink code appears in the eye opening state code (i.e., the number of blinks of the user) (step S352A). Next, the processing unit 130 compares the number of blinks with a preset number of blinks, thereby determining whether the counted number of blinks is equal to the preset number of blinks (step S354A). If the processing unit 130 determines that the blinking number is equal to the preset blinking number, it is determined that the user's eye opening state code conforms to the preset unlocking password (step S356A), and then proceeds to step S360 to release the locked state of the lock 110; If the processing unit 130 determines that the number of blinks is not equal to the preset number of blinks, it is determined that the user's eye open state code does not conform to the preset unlock password (step S358A), and then proceeds to step S370 to maintain the locked state of the lock 110.

舉例來說,請一併參照圖6A與圖7A,假定預設眨眼次數被設定為3。當處理單元130根據使用者的眼部動作而取得由“111011101011”之編碼序列所組成的眼部開闔狀態編碼PUC時,處理單元130會將“10”的編碼定義為一個眨眼編碼BB,並且據以計數眨眼編碼BB在眼部開闔狀態編碼PUC中出現的次數。在眼部開闔狀態編碼PUC中,處理單元130會計數出眨眼編碼BB出現了3次(即,使用者眨眼3次),從而判定使用者的眼部開闔狀態編碼PUC符合預設解鎖密碼,並解除鎖具110的鎖定狀態。 For example, referring to FIG. 6A and FIG. 7A together, it is assumed that the preset blink number is set to 3. When the processing unit 130 obtains the eye opening state coded PUC composed of the code sequence of "111011101011" according to the eye motion of the user, the processing unit 130 defines the code of "10" as a blink code BB, and The number of occurrences in the PUC encoded by the blinking code BB in the eye opening state is counted. In the eye opening state coded PUC, the processing unit 130 counts that the blink code BB appears 3 times (ie, the user blinks 3 times), thereby determining that the user's eye opening state code PUC conforms to the preset unlock password. And unlocking the lock 110.

另一方面,當處理單元130根據使用者的眼部動作而取得由“111110111011”之編碼序列所組成的眼部開闔狀態編碼PUC’時,處理單元130同樣先將“10”的編碼定義為一個眨眼 編碼BB,並且據以計數眨眼編碼BB在眼部開闔狀態編碼PUC’中出現的次數。在眼部開闔狀態編碼PUC’中,由於處理單元130僅會計數出眨眼編碼BB出現了2次(即,使用者眨眼2次),因此會判定使用者的眼部開闔狀態編碼PUC’不符合預設解鎖密碼,並維持鎖具110的鎖定狀態。 On the other hand, when the processing unit 130 acquires the eye opening state code PUC' composed of the code sequence of "111110111011" according to the eye motion of the user, the processing unit 130 first defines the code of "10" as a wink The BB is coded, and the number of occurrences of the blink code BB in the eye open state code PUC' is counted accordingly. In the eye opening state code PUC', since the processing unit 130 only counts out that the blink code BB appears twice (that is, the user blinks twice), it is determined that the user's eye opening state code PUC' The preset unlock password is not met, and the lock state of the lock 110 is maintained.

於此,所述之預設眨眼次數(3次)僅係為便於說明而列舉之範例,本發明不僅限於此。更進一步地說,所設定之預設眨眼次數可為N次,而N值為可依據設計者自行選用的正整數。 Here, the preset number of blinks (3 times) is merely an example for convenience of explanation, and the present invention is not limited thereto. Furthermore, the preset number of preset blinks can be N times, and the N value is a positive integer that can be selected by the designer.

請參照圖6B,在本實施例中,預設解鎖密碼係被設定為一特定的眨眼頻率範圍。詳細而言,在本實施例的步驟S350中,處理單元130會會將連續產生的第一與第二編碼定義為眨眼編碼(步驟S351B),並且計算眼部開闔狀態編碼中眨眼編碼出現的頻率(即,使用者的眨眼頻率)(步驟S352B)。接著,處理單元130會判斷所計算的眨眼頻率是否位於預設眨眼頻率範圍內(步驟S354B)。其中,若處理單元130判斷眨眼頻率位於預設眨眼頻率範圍之內,則判定使用者的眼部開闔狀態編碼符合預設解鎖密碼(步驟S356B),並且接續進行步驟S360以解除鎖具110的鎖定狀態;反之,若處理單元130判斷眨眼頻率位於預設眨眼頻率範圍之外,則判定使用者的眼部開闔狀態編碼不符合預設解鎖密碼(步驟S358B),並且接續進行步驟S370以維持鎖具110的鎖定狀態。 Referring to FIG. 6B, in the embodiment, the preset unlocking password is set to a specific blink frequency range. In detail, in step S350 of the embodiment, the processing unit 130 defines the continuously generated first and second codes as blink codes (step S351B), and calculates the occurrence of the blink code in the eye opening state code. The frequency (i.e., the blink frequency of the user) (step S352B). Next, the processing unit 130 determines whether the calculated blink frequency is within the preset blink frequency range (step S354B). If the processing unit 130 determines that the blink frequency is within the preset blink frequency range, it is determined that the user's eye open state code conforms to the preset unlock password (step S356B), and then proceeds to step S360 to release the lock of the lock 110. If the processing unit 130 determines that the blink frequency is outside the preset blink frequency range, it is determined that the user's eye open state code does not meet the preset unlock password (step S358B), and then proceeds to step S370 to maintain the lock. The locked state of 110.

舉例來說,請一併參照圖6B與圖7B,假定預設眨眼頻 率範圍被設定為1.9~2.1秒/眨眼次數。當處理單元130根據使用者的眼部動作而取得由“110111011101”之編碼序列所組成的眼部開闔狀態編碼PUC時,處理單元130會將“10”的編碼定義為一個眨眼編碼BB,並且據以計算眨眼編碼BB在眼部開闔狀態編碼PUC中出現的頻率/時間間隔。在眼部開闔狀態編碼PUC中,處理單元130會計算出第一次眨眼編碼BB與第二次眨眼編碼BB出現的時間間隔為TD1,而第二次眨眼編碼BB與第三次眨眼編碼BB出現的時間間隔為TD2。其中,當所述時間間隔TD1、TD2皆位於1.9~2.1秒內時(即,使用者以每間隔1.9~2.1秒眨眼1次的頻率眨眼),處理單元130即會判定使用者的眼部開闔狀態編碼PUC符合預設解鎖密碼,並解除鎖具110的鎖定狀態。 For example, please refer to FIG. 6B and FIG. 7B together, assuming the default blink frequency The rate range is set to 1.9~2.1 seconds/blink times. When the processing unit 130 obtains the eye opening state coding PUC composed of the coding sequence of "110111011101" according to the eye motion of the user, the processing unit 130 defines the code of "10" as a blink code BB, and It is calculated to calculate the frequency/time interval in which the blink code BB appears in the eye opening state coded PUC. In the eye opening state coding PUC, the processing unit 130 calculates that the time interval between the first blink code BB and the second blink code BB is TD1, and the second blink code BB and the third blink code BB appear. The time interval is TD2. Wherein, when the time intervals TD1 and TD2 are both within 1.9 to 2.1 seconds (ie, the user blinks at a frequency of 1.9 to 2.1 seconds per blink), the processing unit 130 determines that the user's eyes are open. The state coded PUC conforms to the preset unlock code and unlocks the lock state of the lock 110.

另一方面,當處理單元130根據使用者的眼部動作而取得由“110110111011”之編碼序列所組成的眼部開闔狀態編碼PUC’時,處理單元130同樣先將“10”的編碼定義為一個眨眼編碼BB,並且據以計算眨眼編碼BB在眼部開闔狀態編碼PUC’中出現的頻率。在眼部開闔狀態編碼PUC’中,處理單元130會計算出第一次眨眼編碼BB與第二次眨眼編碼BB出現的時間間隔為TD1’,而第二次眨眼編碼BB與第三次眨眼編碼BB出現的時間間隔為TD2’。其中,當所述時間間隔TD1’、TD2’有一者位於1.9~2.1秒之範圍外時(如時間間隔TD1’),處理單元130即會判定使用者的眼部開闔狀態編碼PUC’不符合預設解鎖密碼,並維持鎖具110的鎖定狀態。 On the other hand, when the processing unit 130 obtains the eye opening state encoding PUC' composed of the coding sequence of "110110111011" according to the eye motion of the user, the processing unit 130 first defines the encoding of "10" as A blink code BB, and the frequency at which the blink code BB appears in the eye open state coded PUC' is calculated. In the eye opening state coding PUC', the processing unit 130 calculates that the time interval between the first blink code BB and the second blink code BB is TD1', and the second blink code BB and the third blink code The time interval at which BB appears is TD2'. Wherein, when one of the time intervals TD1', TD2' is outside the range of 1.9 to 2.1 seconds (such as the time interval TD1'), the processing unit 130 determines that the user's eye opening state code PUC' does not match. The unlock password is preset and the lock state of the lock 110 is maintained.

於此,所述之預設眨眼頻率範圍(1.9~2.1秒/眨眼次數)僅係為便於說明而列舉之範例,但本發明不僅限於此。更進一步地說,所設定之預設眨眼頻率範圍的上/下限可由設計者自行選定,且亦可為一特定頻率(例如2秒/眨眼次數)。 Here, the preset blink frequency range (1.9 to 2.1 seconds/blink times) is merely an example for convenience of explanation, but the present invention is not limited thereto. Furthermore, the upper/lower limit of the preset preset blink frequency range can be selected by the designer and can also be a specific frequency (for example, 2 seconds/blink times).

請參照圖6C,在本實施例中,預設解鎖密碼係被設定為一特定的持續睜眼時間。詳細而言,在本實施例的步驟S350中,處理單元130會計算於眼部開闔狀態編碼中對應於睜眼狀態的第一編碼連續出現的時間(即,持續睜眼時間)(步驟S352C)。接著,處理單元130會判斷所計算的持續睜眼時間是否位於預設睜眼時間範圍(步驟S354C)。其中,若處理單元130判斷持續睜眼時間位於預設睜眼時間範圍之內,則判定使用者的眼部開闔狀態編碼符合預設解鎖密碼(步驟S356C),並且接續進行步驟S360以解除鎖具110的鎖定狀態;反之,若處理單元130判斷持續睜眼時間位於預設睜眼時間範圍之外,則判定使用者的眼部開闔狀態編碼不符合預設解鎖密碼(步驟S358C),並且接續進行步驟S370以維持鎖具110的鎖定狀態。 Referring to FIG. 6C, in the embodiment, the preset unlock password is set to a specific continuous blink time. In detail, in step S350 of the embodiment, the processing unit 130 calculates the time (ie, the sustained blink time) in which the first code corresponding to the blink state in the eye opening state code is continuously generated (step S352C). ). Next, the processing unit 130 determines whether the calculated continuous blink time is within the preset blink time range (step S354C). If the processing unit 130 determines that the continuous blink time is within the preset blink time range, it is determined that the user's eye open state code conforms to the preset unlock password (step S356C), and then proceeds to step S360 to release the lock. If the processing unit 130 determines that the continuous blink time is outside the preset blink time range, it is determined that the user's eye open state code does not meet the preset unlock password (step S358C), and the connection continues. Step S370 is performed to maintain the locked state of the lock 110.

舉例來說,請一併參照圖6C與圖7C,假定預設睜眼時間範圍被設定為9~11秒。當處理單元130根據使用者的眼部動作而取得由“100111111011”之編碼序列所組成的眼部開闔狀態編碼PUC時,處理單元130會計算第一編碼B1(標示為“1”)在眼部開闔狀態編碼PUC中連續出現的最大時間長度COT。在眼部開闔狀態編碼PUC中,處理單元130會計算出第一編碼B1連續 出現的最大時間長度COT約為6個單位時間UT。其中,當最大時間長度COT位於9~11秒內時(即,使用者持續睜眼9~11秒),處理單元130即會判定使用者的眼部開闔狀態編碼PUC符合預設解鎖密碼,並解除鎖具110的鎖定狀態。 For example, referring to FIG. 6C and FIG. 7C together, it is assumed that the preset blink time range is set to 9 to 11 seconds. When the processing unit 130 obtains the eye opening state encoding PUC composed of the coding sequence of "100111111011" according to the eye motion of the user, the processing unit 130 calculates the first code B1 (labeled "1") in the eye. The maximum time length COT that appears continuously in the PUC state coded PUC. In the eye opening state coding PUC, the processing unit 130 calculates that the first code B1 is continuous The maximum time length COOT that occurs is approximately 6 unit time UT. When the maximum time length COT is within 9 to 11 seconds (ie, the user continues to blink for 9 to 11 seconds), the processing unit 130 determines that the user's eye opening state code PUC conforms to the preset unlocking password. And unlocking the lock 110.

另一方面,當處理單元130根據使用者的眼部動作而取得由“110111011110”之編碼序列所組成的眼部開闔狀態編碼PUC’時,處理單元130會計算第一編碼B1在眼部開闔狀態編碼PUC’中連續出現的最大時間長度COT。在眼部開闔狀態編碼PUC’中,處理單元130會計算出第一編碼B1連續出現的最大時間長度COT’約為4個單位時間UT。其中,當最大時間長度COT’位於9~11秒之範圍外時,處理單元130即會判定使用者的眼部開闔狀態編碼PUC’不符合預設解鎖密碼,並維持鎖具110的鎖定狀態。 On the other hand, when the processing unit 130 obtains the eye opening state code PUC′ composed of the coding sequence of “110111011110” according to the eye motion of the user, the processing unit 130 calculates the first code B1 to be opened in the eye. The maximum time length COT that appears continuously in the state code PUC'. In the eye opening state code PUC', the processing unit 130 calculates that the maximum time length COT' in which the first code B1 appears continuously is about 4 unit time UT. Wherein, when the maximum time length COT' is outside the range of 9 to 11 seconds, the processing unit 130 determines that the user's eye opening state code PUC' does not comply with the preset unlocking code and maintains the locked state of the lock 110.

於此,所述之預設睜眼時間範圍(9~11秒)僅係為便於說明而列舉之範例,但本發明不僅限於此。更進一步地說,所設定之睜眼時間範圍的上/下限可由設計者自行選定,或者僅設定睜眼時間範圍的下限而不設定上限(即,只要使用者持續睜眼超過所設定的睜眼時間範圍下限,即判定對應的眼部開闔狀態編碼符合預設解鎖密碼)。 Here, the preset blink time range (9-11 seconds) is merely an example for convenience of explanation, but the present invention is not limited thereto. Furthermore, the upper/lower limit of the set blink time range can be selected by the designer, or only the lower limit of the blink time range can be set without setting the upper limit (ie, as long as the user continues to blink beyond the set blink The lower limit of the time range, that is, the corresponding eye opening state code is determined to be in accordance with the preset unlocking password).

請參照圖6D,在本實施例中,預設解鎖密碼係被設定為一特定的持續閉眼時間。詳細而言,在本實施例的步驟S350中,處理單元130會計算於眼部開闔狀態編碼中對應於閉眼狀態的第 二編碼連續出現的時間(即,持續睜眼時間)(步驟S352D)。接著,處理單元130會判斷所計算的持續閉眼時間是否位於預設閉眼時間範圍(步驟S354D)。其中,若處理單元130判斷持續閉眼時間位於預設閉眼時間範圍之內,則判定使用者的眼部開闔狀態編碼符合預設解鎖密碼(步驟S356D),並且接續進行步驟S360以解除鎖具110的鎖定狀態;反之,若處理單元130判斷持續閉眼時間位於預設閉眼時間範圍之外,則判定使用者的眼部開闔狀態編碼不符合預設解鎖密碼(步驟S358D),並且接續進行步驟S370以維持鎖具110的鎖定狀態。 Referring to FIG. 6D, in the embodiment, the preset unlocking password is set to a specific continuous eye-closing time. In detail, in step S350 of the embodiment, the processing unit 130 calculates the number corresponding to the closed eye state in the eye opening state code. The two codes continuously appear (i.e., continue blinking time) (step S352D). Next, the processing unit 130 determines whether the calculated continuous closed eye time is within the preset closed eye time range (step S354D). If the processing unit 130 determines that the continuous eye closing time is within the preset closed eye time range, it is determined that the user's eye opening state code conforms to the preset unlocking password (step S356D), and then proceeds to step S360 to release the lock 110. If the processing unit 130 determines that the continuous eye closing time is outside the preset closed eye time range, it is determined that the user's eye opening state code does not meet the preset unlocking password (step S358D), and then proceeds to step S370. The locked state of the lock 110 is maintained.

舉例來說,請一併參照圖6D與圖7D,假定預設閉眼時間範圍被設定為9~11秒。當處理單元130根據使用者的眼部動作而取得由“110110000001”之編碼序列所組成的眼部開闔狀態編碼PUC時,處理單元130會計算第二編碼B2(標示為“0”)在眼部開闔狀態編碼PUC中連續出現的最大時間長度CCT。在眼部開闔狀態編碼PUC中,處理單元130會計算出第二編碼B2連續出現的最大時間長度CCT約為6個單位時間UT。其中,當最大時間長度CCT位於9~11秒內時(即,使用者持續閉眼9~11秒),處理單元130即會判定使用者的眼部開闔狀態編碼PUC符合預設解鎖密碼,並解除鎖具110的鎖定狀態。 For example, referring to FIG. 6D and FIG. 7D together, it is assumed that the preset closed eye time range is set to 9 to 11 seconds. When the processing unit 130 obtains the eye opening state coding PUC composed of the coding sequence of "110110000001" according to the eye movement of the user, the processing unit 130 calculates the second code B2 (labeled as "0") in the eye. The maximum time length CCT that appears continuously in the PUC state coded PUC. In the eye opening state coding PUC, the processing unit 130 calculates that the maximum time length CCT in which the second code B2 appears continuously is about 6 unit time UT. Wherein, when the maximum time length CCT is within 9 to 11 seconds (ie, the user continues to close the eyes for 9 to 11 seconds), the processing unit 130 determines that the user's eye opening state code PUC conforms to the preset unlocking password, and The locked state of the lock 110 is released.

另一方面,當處理單元130根據使用者的眼部動作而取得由“101100011011”之編碼序列所組成的眼部開闔狀態編碼PUC’時,處理單元130會計算第二編碼B2在眼部開闔狀態編碼 PUC’中連續出現的最大時間長度CCT’。在眼部開闔狀態編碼PUC’中,處理單元130會計算出第二編碼B2連續出現的最大時間長度CCT’約為3個單位時間UT。其中,當最大時間長度COT’位於9~11秒之範圍外時,處理單元130即會判定使用者的眼部開闔狀態編碼PUC’不符合預設解鎖密碼,並維持鎖具110的鎖定狀態。 On the other hand, when the processing unit 130 obtains the eye opening state code PUC' composed of the code sequence of "101100011011" according to the eye motion of the user, the processing unit 130 calculates the second code B2 to be opened in the eye. State code The maximum length of time CCT' that occurs continuously in PUC'. In the eye opening state code PUC', the processing unit 130 calculates that the maximum time length CCT' in which the second code B2 appears continuously is about 3 unit time UT. Wherein, when the maximum time length COT' is outside the range of 9 to 11 seconds, the processing unit 130 determines that the user's eye opening state code PUC' does not comply with the preset unlocking code and maintains the locked state of the lock 110.

於此,所述之預設閉眼時間範圍(9~11秒)僅係為便於說明而列舉之範例,但本發明不僅限於此。更進一步地說,所設定之閉眼時間範圍的上/下限可由設計者自行選定,或者僅設定閉眼時間範圍的下限而不設定上限(即,只要使用者持續閉眼超過所設定的閉眼時間範圍下限,即判定對應的眼部開闔狀態編碼符合預設解鎖密碼)。 Here, the predetermined closed-eye time range (9-11 seconds) is merely an example for convenience of explanation, but the present invention is not limited thereto. Furthermore, the upper/lower limit of the set closed eye time range can be selected by the designer, or only the lower limit of the closed eye time range can be set without setting the upper limit (ie, as long as the user continues to close the eye beyond the lower limit of the set closed eye time range, That is, it is determined that the corresponding eye opening state code conforms to the preset unlocking password).

請參照圖6E,在本實施例中,處理單元130是藉由比對眼部開闔狀態編碼是否與預設解鎖密碼完全相同的方式來決定是否解鎖。詳細而言,在本實施例的步驟S350中,處理單元130會比對眼部開闔狀態編碼與預設解鎖密碼的每一位元(步驟S352E)。接著,處理單元130會判斷所取得的眼部開闔狀態編碼的每一位元是否皆符合預設解鎖密碼(步驟S354E)。其中,若處理單元130判斷眼部開闔狀態編碼中的每一位元皆符合預設解鎖密碼,則判定使用者的眼部開闔狀態編碼符合預設解鎖密碼(步驟S356E),並且接續進行步驟S360以解除鎖具110的鎖定狀態;反之,若處理單元130判斷眼部開闔狀態編碼中的至少一位元不 符合預設解鎖密碼時,則判定使用者的眼部開闔狀態編碼不符合預設解鎖密碼(步驟S358E),並且接續進行步驟S370以維持鎖具110的鎖定狀態。 Referring to FIG. 6E, in the embodiment, the processing unit 130 determines whether to unlock by comparing whether the eye opening state code is completely the same as the preset unlocking password. In detail, in step S350 of the embodiment, the processing unit 130 compares each bit of the eye opening state code with the preset unlocking code (step S352E). Next, the processing unit 130 determines whether each bit of the acquired eye opening state code conforms to the preset unlocking password (step S354E). If the processing unit 130 determines that each bit in the eye opening state code conforms to the preset unlocking password, it is determined that the user's eye opening state code conforms to the preset unlocking password (step S356E), and continues Step S360 to release the locked state of the lock 110; otherwise, if the processing unit 130 determines at least one of the eye open state codes is not When the preset unlocking password is met, it is determined that the user's eye opening state code does not conform to the preset unlocking password (step S358E), and step S370 is continued to maintain the locked state of the lock 110.

舉例來說,請一併參照圖6E與圖7E,假定預設眨眼密碼係設定為以8個位元“10101010”所組成的編碼序列。當處理單元130根據使用者的眼部動作而取得由“10101010”之編碼序列所組成的眼部開闔狀態編碼PUC時,處理單元130會將所取得的眼部開闔狀態編碼PUC的每一位元與預設解鎖密碼進行比對。經比對後,處理單元130會判斷出使用者的眼部開闔狀態編碼PUC與預設解鎖密碼的每一位元皆相同,因此處理單元130即會判定使用者的眼部開闔狀態編碼PUC符合預設解鎖密碼,並解除鎖具110的鎖定狀態。 For example, referring to FIG. 6E and FIG. 7E together, it is assumed that the preset blink password is set to a coding sequence composed of 8 bits "10101010". When the processing unit 130 obtains the eye opening state coding PUC composed of the coding sequence of “10101010” according to the eye motion of the user, the processing unit 130 encodes each of the acquired eye opening state codes PUC. The bit is compared to the preset unlock password. After the comparison, the processing unit 130 determines that the user's eye opening state coded PUC is the same as each bit of the preset unlocking code, so the processing unit 130 determines the user's eye opening state code. The PUC conforms to the preset unlock password and unlocks the lock 110.

另一方面,當處理單元130根據使用者的眼部動作而取得由“11101010”之編碼序列所組成的眼部開闔狀態編碼PUC’時,處理單元130會將所取得的眼部開闔狀態編碼PUC’的每一位元與預設解鎖密碼進行比對。經比對後,處理單元130會判斷出使用者的眼部開闔狀態編碼PUC’中的第2位元與預設解鎖密碼不符,因此,處理單元130即會判定使用者的眼部開闔狀態編碼PUC’不符合預設解鎖密碼,並維持鎖具110的鎖定狀態。 On the other hand, when the processing unit 130 acquires the eye opening state code PUC' composed of the code sequence of "11101010" according to the eye movement of the user, the processing unit 130 will open the acquired eye state. Each bit of the encoded PUC' is compared with a preset unlock password. After the comparison, the processing unit 130 determines that the second bit in the user's eye opening state code PUC' does not match the preset unlocking password. Therefore, the processing unit 130 determines that the user's eye is open. The status code PUC' does not match the preset unlock password and maintains the lock state of the lock 110.

另外值得一提的是,於本發明實施例所述之密碼輸入方法中,判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟S350並不僅限於單獨採用圖6A至圖6E實施例之其中一者作為具體判 斷的方式,而係可搭配圖6A至圖6D之判斷方式中的至少二者,藉以設定出同時包含有判斷眨眼次數/眨眼頻率/睜眼持續時間/閉眼持續時間其中至少二者的判斷條件,以做為預設解鎖密碼。 In addition, in the password input method of the embodiment of the present invention, the step S350 of determining whether the eye opening state code conforms to the preset unlocking password is not limited to the embodiment of FIG. 6A to FIG. 6E. One as a specific judgment The method of disconnecting, and at least two of the determining manners of FIG. 6A to FIG. 6D, may be used to set a judgment condition including at least two of determining the number of blinks/blinking frequency/blinking duration/closing eye duration. To unlock the password as a default.

舉例來說,設計者可將預設解鎖密碼設定為先進行連續3次的眨眼動作(即,預設眨眼次數等於3),再接續進行9~11秒的閉眼動作(即,預設閉眼時間範圍為9~11秒)。此時,若處理單元130取得具有如“101010000000”格式的眨眼動作編碼,即可判定眨眼動作編碼符合預設解鎖密碼。換言之,於此預設解鎖密碼下,使用者需作出先眨眼3次(對應至3個眨眼編碼“10”)再持續閉眼9~11秒(對應至6個第二編碼“0”)的動作,處理單元130才會判定使用者的眼部開闔狀態編碼符合預設解鎖密碼。於此,上述條件亦僅係便於說明所列舉之範例,本發明不僅限於此。更進一步地說,藉由上述眨眼次數/眨眼頻率/持續睜眼時間/持續閉眼時間所搭配出的任何條件組合,皆包含於本發明實施例之範圍內。 For example, the designer can set the preset unlocking password to perform three consecutive blinking operations (ie, the preset blinking times are equal to 3), and then perform the closed eye motion for 9 to 11 seconds (ie, the preset closed eye time). The range is 9~11 seconds). At this time, if the processing unit 130 obtains the blink action code having the format of “101010000000”, it can be determined that the blink action code conforms to the preset unlock password. In other words, under this preset unlocking password, the user needs to make an action of blinking 3 times (corresponding to 3 blink codes "10") and then closing the eyes for 9 to 11 seconds (corresponding to 6 second codes "0"). The processing unit 130 determines that the user's eye opening state code conforms to the preset unlocking password. Here, the above conditions are merely illustrative of the examples listed, and the present invention is not limited thereto. Furthermore, any combination of conditions commensurate with the above-mentioned number of blinks/blinking frequency/continuous blinking time/continuous closing time is included in the scope of the embodiments of the present invention.

除上述基於眼部開闔狀態進行解鎖的步驟流程外,本發明實施例還提出一種判斷使用者是否發生緊急狀況的密碼輸入方法,其具體步驟流程如圖8所示。 In addition to the above-mentioned step of unlocking based on the eye opening state, the embodiment of the present invention further provides a password input method for determining whether a user has an emergency situation, and the specific procedure flow is as shown in FIG. 8 .

圖8為本發明一實施例之判斷是否發生緊急狀況的步驟流程圖。請參照圖8,在本實施例中,所述密碼輸入方法可在判斷使用者的眼部開闔狀態編碼是否符合預設解鎖密碼的步驟S350前(或者同時,本發明不以此為限),先判斷使用者的眼部開闔狀態 編碼是否符合緊急求助密碼(步驟S810)。其中,若判斷使用者的眼部開闔狀態編碼符合緊急求助密碼,則表示使用者目前可能處於緊急狀況下(例如被人挾持),故此時處理單元130會發出緊急求助信息(步驟S820)給保全單位,藉以通知保全單位有異常狀態發生;反之,若判斷使用者的眼部開闔狀態編碼不符合緊急求助密碼時,再進一步地進行判斷眼部開闔狀態編碼是否符合預設解鎖密碼的步驟S350。 FIG. 8 is a flow chart showing the steps of determining whether an emergency situation has occurred according to an embodiment of the present invention. Referring to FIG. 8 , in the embodiment, the password input method may be before the step S350 of determining whether the user's eye opening state code conforms to the preset unlocking password (or at the same time, the invention is not limited thereto). , first determine the user's eye opening status Whether the encoding conforms to the emergency help password (step S810). If it is determined that the user's eye opening status code meets the emergency help password, it indicates that the user may be in an emergency situation (for example, being held by someone), so the processing unit 130 may issue emergency help information (step S820). The security unit can notify the security unit that an abnormal state occurs; on the other hand, if it is determined that the user's eye opening status code does not meet the emergency help password, further determine whether the eye opening status code conforms to the preset unlocking password. Step S350.

於此,所述之比對使用者的眼部開闔狀態編碼與緊急求助密碼的具體方式可參照有關比對眼部開闔狀態編碼與預設解鎖密碼的相關說明(圖6A至圖7E實施例),故不再贅述。 Herein, the specific manner of comparing the eye opening state code and the emergency help password of the user may refer to the related description of the comparison of the eye opening state code and the preset unlocking password (FIG. 6A to FIG. 7E). Example), so I won't go into details.

底下以圖9實施例來說明上述基於眼部開闔狀態進行解鎖的保全裝置及密碼輸入方法的實際應用範例。其中,圖9為本發明一實施例之基於眼部開闔狀態進行解鎖的門禁系統示意圖。 A practical application example of the above-described security device and password input method for unlocking based on the eye opening state will be described below with reference to the embodiment of FIG. 9 is a schematic diagram of an access control system for unlocking based on an eye opening state according to an embodiment of the present invention.

請參照圖9,門禁系統900包括鎖具910、取像單元920、處理單元930、提示單元940以及門體950。鎖具910設置於門體950上,並用以控制門體950的開啟或關閉。提示單元940於本實施例中例如是以燈號來提示鎖具910的目前配置狀態為鎖定狀態或解鎖狀態的燈號顯示裝置(但不僅限於此)。 Referring to FIG. 9 , the access control system 900 includes a lock 910 , an image capturing unit 920 , a processing unit 930 , a prompting unit 940 , and a door body 950 . The lock 910 is disposed on the door body 950 and is used to control the opening or closing of the door body 950. In the present embodiment, the prompting unit 940 is, for example, a light number display device that prompts the current configuration state of the lock 910 to be in a locked state or an unlocked state, but is not limited thereto.

在本實施例中,取像單元920例如設置於門體950上,並且由一罩體960遮覆住而僅於取像單元920的取像方向上露出一影像擷取區,以令使用者可將眼部區域對準該影像擷取區,使得取像單元920可針對使用者的眼部區域擷取影像序列,並且避 免他人窺視,從而提高門禁系統900的使用安全性。於此,罩體960的設置同樣是設計者可依其設計需求而自行選擇是否加入,本發明不以此為限。 In this embodiment, the image capturing unit 920 is disposed on the door body 950, and is covered by a cover 960 to expose an image capturing area only in the image capturing direction of the image capturing unit 920 for the user to The eye area can be aligned with the image capturing area, so that the image capturing unit 920 can capture the image sequence for the user's eye area, and avoid The prying eyes of others are avoided, thereby improving the safety of use of the access control system 900. The arrangement of the cover 960 is also the designer's choice according to the design requirements, and the invention is not limited thereto.

基於門禁系統900的架構下,處理單元930即可依據取像單元920所擷取的影像序列而藉由上述圖2至圖6E實施例的步驟流程來偵測出使用者所做出的眼部動作/眼部開闔狀態,並據以判斷使用者的眼部開闔狀態編碼是否符合預設解鎖密碼,再依據判斷結果決定是否發出對應的控制訊號來控制鎖具910解除鎖定狀態,從而令使用者可開啟門體950以進入門體950後的區域。 Based on the architecture of the access control system 900, the processing unit 930 can detect the eye made by the user according to the sequence of steps in the foregoing FIG. 2 to FIG. 6E according to the image sequence captured by the image capturing unit 920. The action/eye opening state, and determining whether the user's eye opening state code conforms to the preset unlocking password, and then determining whether to issue the corresponding control signal according to the determination result to control the unlocking state of the lock 910, thereby using The door body 950 can be opened to enter the area behind the door body 950.

綜上所述,本發明實施例提出一種基於眼部開闔狀態的密碼輸入方法及應用其之保全裝置。所述密碼輸入方法可利用特定的眼部動作(例如眨眼、持續睜眼及/或持續閉眼)作為解除鎖具的鎖定狀態的解鎖密碼。由於使用者的眼部動作難以為旁人所窺視或察覺,因此應用所述密碼輸入方法的門禁系統或其他類型的保全裝置的安全性可大幅地提高,並且可防止密碼外洩的問題。 In summary, the embodiment of the present invention provides a password input method based on an eye opening state and a security device using the same. The password input method may utilize a specific eye movement (eg, blinking, continuous blinking, and/or continuous closing of the eye) as an unlocking code to unlock the locked state of the lock. Since the eye movement of the user is difficult to be peeped or perceived by others, the security of the access control system or other type of security device to which the password input method is applied can be greatly improved, and the problem of password leakage can be prevented.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S200~S250‧‧‧步驟 S200~S250‧‧‧Steps

Claims (23)

一種基於眼部開闔狀態的密碼輸入方法,適用於一鎖具,該密碼輸入方法包括:透過一取像單元擷取一影像序列;分析該影像序列,藉以獲得在該影像序列中一使用者的一眼部區域之一眼部影像資訊;基於該眼部影像資訊偵測該使用者的一睜眼狀態與一閉眼狀態;轉換複數個該睜眼狀態及該閉眼狀態成一眼部開闔狀態編碼;判斷該眼部開闔狀態編碼是否符合一緊急求助密碼,且當該眼部開闔狀態編碼符合該緊急求助密碼時,發出一緊急求助信息;判斷該眼部開闔狀態編碼是否符合一預設解鎖密碼;以及依據判斷的結果決定是否解除該鎖具的一鎖定狀態,其中,轉換複數個該睜眼狀態及該閉眼狀態成該眼部開闔狀態編碼的步驟包括:偵測該眼部區域於一單位時間內的狀態;當偵測到該眼部區域於該單位時間處於該睜眼狀態時,產生一第一編碼;當偵測到該眼部區域於該單位時間處於該閉眼狀態時,產生一第二編碼;以及將一預設時間內之基於複數個該睜眼狀態與該閉眼狀態所產 生的複數個該第一與該第二編碼,依序排列組成該眼部開闔狀態編碼。 A password input method based on an eye opening state is applicable to a lock. The password input method includes: capturing an image sequence through an image capturing unit; analyzing the image sequence to obtain a user in the image sequence One eye image information in one eye region; detecting a blink state and a closed eye state of the user based on the eye image information; converting a plurality of the blink states and the closed eye state into an eye open state code Determining whether the eye opening state code conforms to an emergency help password, and when the eye opening state code conforms to the emergency help password, issuing an emergency help information; determining whether the eye opening state code conforms to a pre- Setting an unlocking password; and determining, according to the result of the determining, whether to unlock a locked state of the lock, wherein converting the plurality of blinking states and the closed eye state into the eye opening state encoding comprises: detecting the eye region a state within a unit time; when it is detected that the eye region is in the blink state at the unit time, a first code is generated; When the eye to the region in the closed-eye state in the unit time, generating a second coded; and based on the plurality of open-eye state and the closed-eye state produced within a predetermined time The plurality of the first and the second codes are sequentially arranged to form the eye opening state code. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中依據判斷的結果決定是否解除該鎖具的該鎖定狀態的步驟包括:當該眼部開闔狀態編碼符合該預設解鎖密碼時,解除該鎖具的該鎖定狀態;以及當該眼部開闔狀態編碼不符合該預設解鎖密碼時,維持該鎖具的該鎖定狀態。 The method for inputting a password based on an eye opening state according to claim 1, wherein the step of deciding whether to release the locked state of the lock according to the result of the determining comprises: when the eye opening state code conforms to the preset When the unlock password is set, the locked state of the lock is released; and when the eye open state code does not conform to the preset unlock password, the locked state of the lock is maintained. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中基於該眼部影像資訊偵測該使用者的該睜眼狀態與該閉眼狀態的步驟包括:基於該眼部影像資訊搜尋該眼部區域內的一眼部物件;以及依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態。 The method for inputting a password based on an eye opening state according to claim 1, wherein the step of detecting the blink state and the closed eye state of the user based on the eye image information comprises: based on the eye The image information searches for an eye object in the eye area; and determines that the eye area is in the blink state or the closed eye state according to the size of the eye object. 如申請專利範圍第3項所述的基於眼部開闔狀態的密碼輸入方法,其中依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態的步驟包括:計算該眼部物件的高度與寬度;判斷該眼部物件的高度是否小於一高度門檻值,且該眼部物件的寬度是否大於一寬度門檻值;當該眼部物件的高度小於該高度門檻值,且該眼部物件的寬 度大於該寬度門檻值時,判定該眼部區域處於該閉眼狀態;以及當該眼部物件的高度大於等於該高度門檻值,或該眼部物件的寬度小於等於該寬度門檻值時,判定該眼部區域處於該睜眼狀態。 The password input method based on the eye opening state according to claim 3, wherein the step of determining the eye region in the blink state or the closed eye state according to the size of the eye object comprises: calculating the eye a height and a width of the object; determining whether the height of the eye object is less than a height threshold, and whether the width of the eye object is greater than a width threshold; when the height of the eye object is less than the height threshold, and the Eye object width When the degree is greater than the width threshold, determining that the eye region is in the closed eye state; and when the height of the eye object is greater than or equal to the height threshold, or the width of the eye object is less than or equal to the width threshold, determining The eye area is in this blinking state. 如申請專利範圍第3項所述的基於眼部開闔狀態的密碼輸入方法,更包括:於搜尋到該眼部物件後,辨識該眼部物件的一生物特徵資訊;當該生物特徵資訊符合一預設使用者資訊時,進行依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態的步驟;以及當該生物特徵資訊不符合該預設使用者資訊時,停止進行依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態的步驟。 The method for inputting a password based on an eye opening state according to claim 3, further comprising: identifying a biometric information of the eye object after searching the eye object; and when the biometric information is met a step of determining, according to the size of the eye object, that the eye region is in the blink state or the closed eye state according to the size of the eye object; and stopping when the biometric information does not meet the preset user information A step of determining whether the eye region is in the blink state or the closed eye state is performed according to the size of the eye object. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中該預設解鎖密碼包括一預設眨眼次數,且判斷該眼部開闔狀態編碼是否符合該預設解鎖密碼的步驟包括:定義連續產生的該第一與該第二編碼為一眨眼編碼;計數於該眼部開闔狀態編碼中該眨眼編碼出現的一眨眼次數;比較該眨眼次數與該預設眨眼次數;當該眨眼次數等於該預設眨眼次數時,判定該眼部開闔狀態編碼符合該預設解鎖密碼;以及 當該眨眼次數不等於該預設眨眼次數時,判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The password input method based on the eye opening state according to claim 1, wherein the preset unlocking password includes a preset blinking number, and determining whether the eye opening state code conforms to the preset unlocking password. The steps include: defining the first and second codes that are continuously generated as a blink code; counting the number of blinks in the blink code of the eye opening state code; comparing the number of blinks with the number of preset blinks When the number of blinks is equal to the preset number of blinks, determining that the eye open state code conforms to the preset unlock password; When the number of blinks is not equal to the preset number of blinks, it is determined that the eye open state code does not conform to the preset unlock password. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中該預設解鎖密碼包括一預設眨眼頻率範圍,且判斷該眼部開闔狀態編碼是否符合該預設解鎖密碼的步驟包括:定義連續產生的該第一與該第二編碼為一眨眼編碼;計算於該眼部開闔狀態編碼中該眨眼編碼出現的一眨眼頻率;判斷該眨眼頻率是否位於該預設眨眼頻率範圍內;當該眨眼頻率位於該預設眨眼頻率範圍內時,判定該眼部開闔狀態編碼符合該預設解鎖密碼;以及當該眨眼頻率位於該預設眨眼頻率範圍外時,判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The password input method based on the eye opening state according to claim 1, wherein the preset unlocking password includes a preset blinking frequency range, and determining whether the eye opening state code conforms to the preset unlocking The step of cryptographically includes: defining the first and second codes that are continuously generated as a blink code; calculating a blink frequency of the blink code in the eye open state code; determining whether the blink frequency is at the preset Within the blink frequency range; when the blink frequency is within the preset blink frequency range, determining that the eye open state code conforms to the preset unlock password; and determining that the blink frequency is outside the preset blink frequency range The eye opening status code does not match the preset unlock code. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中該預設解鎖密碼包括一預設睜眼時間範圍,且判斷該眼部開闔狀態編碼是否符合該預設解鎖密碼的步驟包括:計算於該眼部開闔狀態編碼中該第一編碼連續出現的一持續睜眼時間;判斷該持續睜眼時間是否位於該預設睜眼時間範圍內;當該持續睜眼時間位於該預設睜眼時間範圍內時,判定該眼部開闔狀態編碼符合該預設解鎖密碼;以及當該持續睜眼時間位於該預設睜眼時間範圍外時,判定該眼 部開闔狀態編碼不符合該預設解鎖密碼。 The password input method based on the eye opening state according to claim 1, wherein the preset unlocking password includes a preset blink time range, and determining whether the eye opening state code conforms to the preset The step of unlocking the password includes: calculating a continuous blink time in which the first code appears continuously in the eye opening state code; determining whether the continuous blink time is within the preset blink time range; Determining that the eye opening state code conforms to the preset unlocking code when the eye time is within the preset blink time range; and determining the eye when the continuous blink time is outside the preset blink time range The section status code does not match the preset unlock password. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中該預設解鎖密碼包括一預設閉眼時間範圍,且判斷該眼部開闔狀態編碼是否符合該預設解鎖密碼的步驟包括:計算於該眼部開闔狀態編碼中該第二編碼連續出現的一持續閉眼時間;判斷該持續閉眼時間是否位於該預設閉眼時間範圍內;當該持續閉眼時間位於該預設閉眼時間範圍內時,判定該眼部開闔狀態編碼符合該預設解鎖密碼;以及當該持續閉眼時間位於該預設閉眼時間範圍外時,判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The password input method based on the eye opening state according to claim 1, wherein the preset unlocking password includes a preset closed eye time range, and determining whether the eye opening state code conforms to the preset unlocking The step of encrypting includes: calculating a continuous closed eye time in which the second code continuously appears in the eye opening state code; determining whether the continuous eye closing time is within the preset closed eye time range; and when the continuous closed eye time is located in the preset When the closed eye time range is set, it is determined that the eye opening state code conforms to the preset unlocking code; and when the continuous eye closing time is outside the preset closed eye time range, determining that the eye opening state code does not conform to the preset Set the unlock password. 如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法,其中判斷該眼部開闔狀態編碼是否符合該預設解鎖密碼的步驟包括:比對該眼部開闔狀態編碼與該預設解鎖密碼中的每一位元;當該眼部開闔狀態編碼中的每一位元皆符合該預設解鎖密碼時,判定該眼部開闔狀態編碼符合該預設解鎖密碼;以及當該眼部開闔狀態編碼中的至少一位元不符合該預設解鎖密碼時,判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The password input method based on the eye opening state according to claim 1, wherein the step of determining whether the eye opening state code conforms to the preset unlocking password comprises: encoding the eye opening state code And each bit in the preset unlocking password; when each bit in the eye opening state code conforms to the preset unlocking password, determining that the eye opening state code conforms to the preset unlocking password And when at least one of the eye opening state codes does not meet the preset unlocking password, determining that the eye opening state code does not conform to the preset unlocking password. 一種電腦程式產品,其經由一電子裝置載入後執行如申請專利範圍第1項所述的基於眼部開闔狀態的密碼輸入方法。 A computer program product that performs an eye-opening state-based password input method as described in claim 1 after being loaded via an electronic device. 一種基於眼部開闔狀態進行解鎖的保全裝置,包括: 一鎖具;一取像單元,用以擷取一影像序列;以及一處理單元,耦接該取像單元,用以分析該影像序列,藉以獲得在該影像序列中一使用者的一眼部區域之一眼部影像資訊;其中,該處理單元基於該眼部影像資訊,偵測該使用者的一睜眼狀態與一閉眼狀態,轉換複數個該睜眼狀態及該閉眼狀態成一眼部開闔狀態編碼,並判斷該眼部開闔狀態編碼是否符合一緊急求助密碼,且當該眼部開闔狀態編碼符合該緊急求助密碼時,發出一緊急求助信息,以及判斷該眼部開闔狀態編碼是否符合一預設解鎖密碼,以依據判斷的結果決定是否解除該鎖具的一鎖定狀態,其中,該處理單元偵測該眼部區域於一單位時間的狀態;當該處理單元偵測到該眼部區域於該單位時間內處於該睜眼狀態時,該處理單元產生一第一編碼,以及當該處理單元偵測到該眼部區域於該單位時間內處於該閉眼狀態時,該處理單元產生一第二編碼,其中該處理單元將一預設時間內之基於複數個該睜眼狀態與該閉眼狀態所產生的複數個該第一與該第二編碼,依序排列組成該眼部開闔狀態編碼。 A security device for unlocking based on an eye opening state, comprising: a lock unit; an image capture unit for capturing an image sequence; and a processing unit coupled to the image capture unit for analyzing the image sequence to obtain an eye region of a user in the image sequence One eye image information; wherein the processing unit detects a blink state and a closed eye state of the user based on the eye image information, and converts the plurality of blink states and the closed eye state into an eye opening State code, and determine whether the eye opening state code conforms to an emergency help password, and when the eye opening state code conforms to the emergency help code, issue an emergency help information, and determine the eye open state code Whether the default unlocking password is met, according to the result of the determination, whether to cancel a locked state of the lock, wherein the processing unit detects the state of the eye region in a unit time; when the processing unit detects the eye When the area is in the blink state in the unit time, the processing unit generates a first code, and when the processing unit detects the eye area in the unit When the interval is in the closed eye state, the processing unit generates a second code, wherein the processing unit generates a plurality of the first and the first number generated based on the plurality of the blink states and the closed eye state within a preset time period The two codes are arranged in sequence to form the eye opening state code. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中當該處理單元判斷該眼部開闔狀態編碼符合該預設解鎖密碼時,該處理單元解除該鎖具的該鎖定狀態,以及當該處理單元判斷該眼部開闔狀態編碼不符合該預設解鎖密碼 時,該處理單元維持該鎖具的該鎖定狀態。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit releases the lock when the processing unit determines that the eye opening state code conforms to the preset unlocking password. The locked state, and when the processing unit determines that the eye open state code does not match the preset unlock password The processing unit maintains the locked state of the lock. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元基於該眼部影像資訊搜尋該眼部區域內的一眼部物件,並且依據該眼部物件的尺寸判斷該眼部區域處於一睜眼狀態或一閉眼狀態。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit searches for an eye object in the eye region based on the eye image information, and according to the eye object The size determines that the eye area is in a blinking state or a closed eye state. 如申請專利範圍第14項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元偵測該眼部物件的高度與寬度;當該處理單元偵測到該眼部物件的高度小於一高度門檻值,且該眼部物件的寬度大於一寬度門檻值時,該處理單元判定該眼部區域處於該閉眼狀態,以及當該處理單元偵測到該眼部物件的高度大於等於該高度門檻值,或該眼部物件的寬度小於等於該寬度門檻值時,該處理單元判定該眼部區域處於該睜眼狀態。 The security device for unlocking based on the eye opening state according to claim 14, wherein the processing unit detects the height and width of the eye object; when the processing unit detects the height of the eye object When the width of the eye object is greater than a width threshold, the processing unit determines that the eye region is in the closed eye state, and when the processing unit detects that the height of the eye object is greater than or equal to When the height threshold value, or the width of the eye object is less than or equal to the width threshold value, the processing unit determines that the eye region is in the blink state. 如申請專利範圍第14項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元於搜尋到該眼部物件後,先行辨識該眼部物件的一生物特徵資訊;當該生物特徵資訊符合一預設使用者資訊時,再進行依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態的動作;以及當該生物特徵資訊不符合該預設使用者資訊時,停止進行依據該眼部物件的尺寸判斷該眼部區域處於該睜眼狀態或該閉眼狀態的動作。 The security device for unlocking based on the eye opening state according to claim 14, wherein the processing unit first identifies a biometric information of the eye object after searching the eye object; When the feature information conforms to a preset user information, the action of determining the eye region in the blink state or the closed eye state according to the size of the eye object is performed; and when the biometric information does not meet the preset user In the case of information, the operation of judging whether the eye region is in the blink state or the closed eye state is determined according to the size of the eye object. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元定義連續產生的該第一與該第二編碼為一眨眼編碼,計數於該眼部開闔狀態編碼中該眨眼編碼出 現的一眨眼次數,並且比較該眨眼次數與一預設眨眼次數;當該眨眼次數等於該預設眨眼次數時,該處理單元判定該眼部開闔狀態編碼符合該預設解鎖密碼,以及當該眨眼次數不等於該預設眨眼次數時,該處理單元判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit defines the first and second codes continuously generated as a blink code, and counting the eye opening The blink code is encoded in the status code The current number of blinks, and compares the number of blinks with a preset number of blinks; when the number of blinks is equal to the preset number of blinks, the processing unit determines that the eye open state code conforms to the preset unlock password, and when When the number of blinks is not equal to the preset number of blinks, the processing unit determines that the eye open state code does not conform to the preset unlock password. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元定義連續產生的該第一與該第二編碼為一眨眼編碼,計算於該眼部開闔狀態編碼中該眨眼編碼出現的一眨眼頻率,並且判斷該眨眼頻率是否位於一預設眨眼頻率範圍內;當該眨眼頻率位於該預設眨眼頻率範圍內時,該處理單元判定該眼部開闔狀態編碼符合該預設解鎖密碼,以及當該眨眼次數位於該預設眨眼頻率範圍外時,該處理單元判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit defines the first and second codes continuously generated as a blink code, and calculates the eye opening. a blink frequency of the blink code in the state code, and determining whether the blink frequency is within a predetermined blink frequency range; when the blink frequency is within the preset blink frequency range, the processing unit determines the eye opening The status code conforms to the preset unlock password, and when the number of blinks is outside the preset blink frequency range, the processing unit determines that the eye open state code does not conform to the preset unlock password. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元計算於該眼部開闔狀態編碼中該第一編碼連續出現的一持續睜眼時間,並且判斷該持續睜眼時間是否位於一預設睜眼時間範圍內;當該持續睜眼時間位於該預設睜眼時間範圍內時,該處理單元判定該眼部開闔狀態編碼符合該預設解鎖密碼,以及當該持續睜眼時間位於該預設睜眼時間範圍外時,該處理單元判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit calculates a continuous blinking time in which the first code continuously appears in the eye opening state code, and Determining whether the continuous blink time is within a preset blink time range; when the continuous blink time is within the preset blink time range, the processing unit determines that the eye open state code conforms to the preset unlock The password, and when the continuous blink time is outside the preset blink time range, the processing unit determines that the eye open state code does not conform to the preset unlock password. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解 鎖的保全裝置,其中該處理單元計算於該眼部開闔狀態編碼中該第二編碼連續出現的一持續閉眼時間,並且判斷該持續閉眼時間是否位於一預設閉眼時間範圍內;當該持續閉眼時間位於該預設閉眼時間範圍內時,該處理單元判定該眼部開闔狀態編碼符合該預設解鎖密碼,以及當該持續閉眼時間位於該預設閉眼時間範圍外時,該處理單元判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The solution based on the eye opening state as described in item 12 of the patent application scope a security device for locking, wherein the processing unit calculates a continuous closed eye time in which the second code continuously appears in the eye opening state code, and determines whether the continuous eye closing time is within a predetermined closed eye time range; When the closed eye time is within the preset closed eye time range, the processing unit determines that the eye open state code conforms to the preset unlock password, and when the continuous closed eye time is outside the preset closed eye time range, the processing unit determines The eye opening status code does not match the preset unlock code. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,其中該處理單元比對該眼部開闔狀態編碼與該預設解鎖密碼中的每一位元;當該眼部開闔狀態編碼中的每一位元皆符合該預設解鎖密碼時,該處理單元判定該眼部開闔狀態編碼符合該預設解鎖密碼,以及當該眼部開闔狀態編碼中的至少一位元不符合該預設解鎖密碼時,該處理單元判定該眼部開闔狀態編碼不符合該預設解鎖密碼。 The security device for unlocking based on the eye opening state according to claim 12, wherein the processing unit encodes each eye in the eye opening state code and the preset unlocking password; When each bit in the eye opening state code conforms to the preset unlocking password, the processing unit determines that the eye opening state code conforms to the preset unlocking password, and when the eye opening state code is When at least one element does not meet the preset unlocking password, the processing unit determines that the eye opening state code does not conform to the preset unlocking password. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,更包括:一門體,其中該鎖具設置於該門體上,用以控制該門體的開啟或關閉。 The security device for unlocking based on the eye opening state according to claim 12, further comprising: a door body, wherein the lock is disposed on the door body to control opening or closing of the door body. 如申請專利範圍第12項所述的基於眼部開闔狀態進行解鎖的保全裝置,更包括:一提示單元,用以提示該鎖具的一目前配置狀態。 The security device for unlocking based on the eye opening state according to claim 12, further comprising: a prompting unit for prompting a current configuration state of the lock.
TW102148804A 2013-12-27 2013-12-27 Password inputting method based on eye's opening and closing state and security apparatus using the same TWI578184B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
TW102148804A TWI578184B (en) 2013-12-27 2013-12-27 Password inputting method based on eye's opening and closing state and security apparatus using the same
CN201410083536.4A CN104750240B (en) 2013-12-27 2014-03-07 Password input method based on eye opening and closing state and security device applying same
CN201410466599.8A CN104751114B (en) 2013-12-27 2014-09-12 Verification system controlled by eye opening and closing state and handheld control device thereof
US14/510,131 US10049271B2 (en) 2013-12-27 2014-10-09 Authentication system controlled by eye open and eye closed state, handheld control apparatus thereof and computer readable recording media
JP2014253345A JP5922214B2 (en) 2013-12-27 2014-12-15 Authentication system controlled by eye open / closed state, portable control device thereof, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102148804A TWI578184B (en) 2013-12-27 2013-12-27 Password inputting method based on eye's opening and closing state and security apparatus using the same

Publications (2)

Publication Number Publication Date
TW201525752A TW201525752A (en) 2015-07-01
TWI578184B true TWI578184B (en) 2017-04-11

Family

ID=53590068

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102148804A TWI578184B (en) 2013-12-27 2013-12-27 Password inputting method based on eye's opening and closing state and security apparatus using the same

Country Status (2)

Country Link
CN (1) CN104750240B (en)
TW (1) TWI578184B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094339A (en) * 2015-08-20 2015-11-25 上海斐讯数据通信技术有限公司 System for achieving unlocking through blink times
CN105205420A (en) * 2015-10-16 2015-12-30 上海斐讯数据通信技术有限公司 Electronic device and password input method and device applied by electronic device
CN107066847A (en) * 2015-12-07 2017-08-18 由田新技股份有限公司 Identity verification method, device and system
TWI562008B (en) * 2015-12-07 2016-12-11 Utechzone Co Ltd Identity verification method and apparatus and computer program product
CN106980780A (en) * 2016-01-18 2017-07-25 由田新技股份有限公司 Identity verification method and device
TWI578183B (en) * 2016-01-18 2017-04-11 由田新技股份有限公司 Identity verification method, apparatus and system and computer program product
CN111691764B (en) * 2020-05-28 2022-03-18 青岛海纳云科技控股有限公司 Household intelligent door lock and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050199783A1 (en) * 2004-03-15 2005-09-15 Wenstrand John S. Using eye detection for providing control and power management of electronic devices
TW201108545A (en) * 2009-08-27 2011-03-01 Tsint Intelligent home appliance power control system
US7925887B2 (en) * 2003-05-19 2011-04-12 Intellirad Solutions Pty Ltd. Multi-parameter biometric authentication
US20130169530A1 (en) * 2011-12-29 2013-07-04 Khalifa University Of Science And Technology & Research (Kustar) Human eye controlled computer mouse interface
US8508338B1 (en) * 2010-11-07 2013-08-13 Howard Owen Fiddy Method and system for defeat of replay attacks against biometric authentication systems

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001088857A1 (en) * 2000-05-16 2001-11-22 Swisscom Mobile Ag Biometric method for identification and authorisation
KR20030082128A (en) * 2002-04-16 2003-10-22 엘지전자 주식회사 System of mouse include iris recognition of pc
JP5699802B2 (en) * 2011-05-26 2015-04-15 ソニー株式会社 Information processing apparatus, information processing method, program, and information processing system
US20130188825A1 (en) * 2012-01-19 2013-07-25 Utechzone Co., Ltd. Image recognition-based startup method
CN103324290A (en) * 2013-07-04 2013-09-25 深圳市中兴移动通信有限公司 Terminal equipment and eye control method thereof
CN103324879B (en) * 2013-07-05 2016-08-10 公安部第三研究所 Mobile device is based on recognition of face and the authentication system of smart card and method
CN103400082A (en) * 2013-08-16 2013-11-20 中科创达软件股份有限公司 File encryption/decryption method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925887B2 (en) * 2003-05-19 2011-04-12 Intellirad Solutions Pty Ltd. Multi-parameter biometric authentication
US20050199783A1 (en) * 2004-03-15 2005-09-15 Wenstrand John S. Using eye detection for providing control and power management of electronic devices
TW201108545A (en) * 2009-08-27 2011-03-01 Tsint Intelligent home appliance power control system
US8508338B1 (en) * 2010-11-07 2013-08-13 Howard Owen Fiddy Method and system for defeat of replay attacks against biometric authentication systems
US20130169530A1 (en) * 2011-12-29 2013-07-04 Khalifa University Of Science And Technology & Research (Kustar) Human eye controlled computer mouse interface

Also Published As

Publication number Publication date
TW201525752A (en) 2015-07-01
CN104750240B (en) 2018-02-02
CN104750240A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
TWI578184B (en) Password inputting method based on eye's opening and closing state and security apparatus using the same
JP5922214B2 (en) Authentication system controlled by eye open / closed state, portable control device thereof, and computer-readable recording medium
JP2017049867A (en) Authentication device, crime prevention system, authentication method, and program
JP4086740B2 (en) Terminal user monitoring system
US8364971B2 (en) User authentication system and method
JP2016009453A (en) Face authentication device and face authentication method
KR102655949B1 (en) Face verifying method and apparatus based on 3d image
US7184576B2 (en) Personal authentication system
CN103324909A (en) Facial feature detection
JP2018515830A (en) System and apparatus for biometric authentication and authorization of a unique user
TW201317822A (en) Gaze-tracking password input method and device utilizing the same
WO2019138688A1 (en) Facial recognition device
WO2018014322A1 (en) Residential intelligent door lock system and control method thereof
JP6897831B2 (en) Authentication device, security system, control method and program by authentication device
JP5360931B2 (en) Iris authentication system, iris authentication method, and iris authentication program
CN105354473A (en) Iris identification authentication based device desktop unlocking method and apparatus
JP5460019B2 (en) Authentication device and security system
CN103646236B (en) The coding encrypting and application process of a kind of palmprint information
TWI507911B (en) Authentication system controlled by eye open and eye closed state and handheld control apparatus thereof
JP2008097647A (en) Terminal user monitoring system
CN114299653A (en) Identity authentication method, device, system and storage medium
CN103647769B (en) A kind of coding encrypting and application process of human ear information
JP7151830B2 (en) Information processing device, security system, information processing method and program
Wadhwa et al. Defending against attacks on biometrics-based authentication
JP6187386B2 (en) Entrance / exit management system