facedetection.html
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html ng-app="mainApp">
<head>
<title>Age Detection</title>
<meta charset="utf-8" />
<script src="/node_modules/angular/angular.js"></script>
<script src="/node_modules/angular-route/angular-route.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="/app/app.js"></script>
<style>
.left-box {
float: left;
width: 50%;
}
.right-box {
float: right;
width: 50%;
}
</style>
</head>
<body ng-controller="mainAdminController">
<div class="left-box">
<img src="http://54.180.159.73:8080/uploads/mypic.jpg">
</div>
<div class="right-box">
<div ng-repeat="row in data">
<p>age : {{ row.faceAttributes.age }}</p>
<p>emotion : {{ row.faceAttributes.emotion }}</p>
<p>gender : {{ row.faceAttributes.gender }}</p>
<p>bald : {{ row.faceAttributes.hair.bald }}</p>
</div>
</div>
</body>
</html>