facedetection.html 1.04 KB
<!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>