嵌入式即時性別年齡預測的追蹤系統
Real-Time Age and Gender Estimation Combining Tracking System on Embedded Device
摘要
性別與年齡的偵測是近年都相當熱門的一個研究,相當多的延伸應用都能和性別與年齡結合,特別是在電腦視覺領域的應用。比如用在監控系統,人類互動設計系統或者是商業的廣告,然而這些應用的重點都在於是否能夠即時地去取得相關資料,這也讓此議題成為一個新的挑戰。
如今已經有相當多的研究專注在年齡及性別的檢測上,大部分透過深度學習的模型訓練之後,性別已經能提升到一定的水準上。然而,年齡的準確度目前還有待加強。雖然有些模型已經能夠取得較低的錯誤,但是龐大以及過深的深層網路使得要將此應用實現在生活情境中出現了一定的難度。本論文將年齡及性別問題視為一個回歸的問題,參考DEX[3]和SSR[11]將年齡細分為很多類別,最後再加總取得最後預期的值,此論文根據此調整了細項,使得模型可以動態的學習擷取的特徵,由概略的特徵到更細部的高階特徵。架構上則是採取兩條串流的神經網路,此架構使得整個網路的大小不到1MB即可達到一定的準確度,大大增加了應用在嵌入式裝置的可能性。
此外,本論文新增了人臉追蹤系統,使得預測性別及年齡的時候穩定性更高,這是目前所知第一個加入追蹤系統於年齡及性別的檢測。此舉使得於一定時間內性別及年齡不會一直變動。另外,本論文對即時系統的影片去做檢測,不像過往的多數研究專精於二維的靜態圖片,本論文更針對動態的三維影片去做實驗,經過測試後,此模型相當適合應用於嵌入式平台,例如Nvidia所研發的TX1,最終在動態影片的年齡誤差約為2.00,性別誤差趨近於零,並且可以達到24 fps。
如今已經有相當多的研究專注在年齡及性別的檢測上,大部分透過深度學習的模型訓練之後,性別已經能提升到一定的水準上。然而,年齡的準確度目前還有待加強。雖然有些模型已經能夠取得較低的錯誤,但是龐大以及過深的深層網路使得要將此應用實現在生活情境中出現了一定的難度。本論文將年齡及性別問題視為一個回歸的問題,參考DEX[3]和SSR[11]將年齡細分為很多類別,最後再加總取得最後預期的值,此論文根據此調整了細項,使得模型可以動態的學習擷取的特徵,由概略的特徵到更細部的高階特徵。架構上則是採取兩條串流的神經網路,此架構使得整個網路的大小不到1MB即可達到一定的準確度,大大增加了應用在嵌入式裝置的可能性。
此外,本論文新增了人臉追蹤系統,使得預測性別及年齡的時候穩定性更高,這是目前所知第一個加入追蹤系統於年齡及性別的檢測。此舉使得於一定時間內性別及年齡不會一直變動。另外,本論文對即時系統的影片去做檢測,不像過往的多數研究專精於二維的靜態圖片,本論文更針對動態的三維影片去做實驗,經過測試後,此模型相當適合應用於嵌入式平台,例如Nvidia所研發的TX1,最終在動態影片的年齡誤差約為2.00,性別誤差趨近於零,並且可以達到24 fps。
Age and gender estimation is a really popular study in recent years. Many applications can combine with it, especailly in the computer vision field. For example, we can apply it on survilliance system, human computer interaction or business advertisement. However, the most important thing among these application is that whether we can get the estimation result in time, which makes the issue become a challenging one.
Nowadays, there are several research focusing on age and gender estimation. Most of them are through the deep learning model. After training, most of them can reach a good gender estimation result, however; the age estimation still needs to be strengthened. Though some of the state-of-the-art can reach a lower mean absolute error on age estimation, nevertheless; they use a too deep architecture so that their model is complicated and large. This makes it harder to apply on the real-time case. The thesis consider the age and gender as a regression problem. We reference the DEX[3] and SSR[11] to classify the age and gender into many groups, after multiplying the probability and index, we can get the final expected value for age and gender. Here, we modify the algorithm to make the model can learn dynamically in fewer parameters, and also can learn the low-level features to high-level features. The total model size is not larger than 1MB, which is highly possible to apply on embedded system.
Furthermore, the thesis add the face tracking system. It raises the stability of age and gender estimation. This is the first one to add tracking system in this issue which makes the system will not vary the age and gender all the time. Also, we focus more on the real-time videos. Unlike the past research, which often focus on 2D images, we have experimented on the 3D real-time case. After experiment, the final results for real-time video is that we can reach about 2.0 MAE for age estimation and almost 100% accuracy on gender estimation. Finally, we apply our model on the TX1 and can reach 24 fps.
Nowadays, there are several research focusing on age and gender estimation. Most of them are through the deep learning model. After training, most of them can reach a good gender estimation result, however; the age estimation still needs to be strengthened. Though some of the state-of-the-art can reach a lower mean absolute error on age estimation, nevertheless; they use a too deep architecture so that their model is complicated and large. This makes it harder to apply on the real-time case. The thesis consider the age and gender as a regression problem. We reference the DEX[3] and SSR[11] to classify the age and gender into many groups, after multiplying the probability and index, we can get the final expected value for age and gender. Here, we modify the algorithm to make the model can learn dynamically in fewer parameters, and also can learn the low-level features to high-level features. The total model size is not larger than 1MB, which is highly possible to apply on embedded system.
Furthermore, the thesis add the face tracking system. It raises the stability of age and gender estimation. This is the first one to add tracking system in this issue which makes the system will not vary the age and gender all the time. Also, we focus more on the real-time videos. Unlike the past research, which often focus on 2D images, we have experimented on the 3D real-time case. After experiment, the final results for real-time video is that we can reach about 2.0 MAE for age estimation and almost 100% accuracy on gender estimation. Finally, we apply our model on the TX1 and can reach 24 fps.