File size: 4,780 Bytes
4fb3bd2
 
 
 
20a6c07
 
 
4fb3bd2
 
 
20a6c07
 
 
 
4fb3bd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20a6c07
 
 
 
 
 
 
 
 
 
 
 
 
 
add2eb7
4fb3bd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
add2eb7
4fb3bd2
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
  <head>
    <title> AIML </title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
  
    <script src="https://cdn.socket.io/4.5.4/socket.io.min.js"
        crossorigin="anonymous"></script>
    
  </head>
  
  <body>
    <nav class="navbar navbar-inverse">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand" href="#">AIML</a>
        </div>
        <ul class="nav navbar-nav">
          <li class="active"><a href="/">Home</a></li>
          <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="boot1.html">Bootstrap </a></li>
              <li><a href="box.html">Box</a></li>
              
            </ul>
          </li>
          <li><a href="index1.html">Website1</a></li>
          <li><a href="/data">Data from OpenCV</a></li>
          <li><a href="/form">form</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
        </ul>
      </div>
    </nav>
    
    <div class="container">
      <h2>
        Welcome
      </h2>

      <button onclick="start_camera()">Capture</button>
    <button onclick="stop_camera()">stop</button>
    <div>
        <video autoplay="true" id="videoElement"></video>
        <canvas id="canvas" width="400" height="300"></canvas>
    </div>
    <div>
        <h1>Name: </h1><h3 id="name"></h3></div></br>
        <h1>confidence score: </h1><h3 id="score"></h3></div>
    </div>
    <script src="{{ url_for('static',filename='app.js') }}"></script>

    
<!--       <div class="row">
        <div class="col-sm-4">
          <img src="https://cdn.glitch.global/438f3e8d-dfe7-4861-b60f-b0a2bccfecf0/kapany.png?v=1661407050397" 
               height="150" width="150">
          <p>
            Narinder Singh Kapany
          </p>
          <blockquote>
            Narinder Singh Kapany FREng (31 October 1926 – 4 December 2020) was an Indian-American physicist best known for his work on fiber optics.[2][3][4] He is credited with inventing fiber optics, and is considered the 'Father of Fiber Optics'.[5][6] Fortune named him one of seven 'Unsung Heroes of the 20th century' for his Nobel Prize-deserving invention.[7][3][8]He was awarded India's second highest civilian award the Padma Vibhushan posthumously in 2021.[9][10] He served as an Indian Ordnance Factories Service (IOFS) officer.[11] He was also offered the post of Scientific Adviser to the Defence Minister of India, by the first Prime Minister of India, Jawaharlal Nehru
            
          </blockquote>
          
        </div>
        <div class="col-sm-4">
          <img src="https://cdn.glitch.global/438f3e8d-dfe7-4861-b60f-b0a2bccfecf0/kalpana.png?v=1661149348398" 
               height="150" width="150">
          <p>
            Kalpana Chawla
          </p>
          <blockquote>
            Kalpana Chawla (17 March 1962 – 1 February 2003) was an Indian-born American astronaut and mechanical engineer who was the first woman of Indian origin to go to space.[3][4] She first flew on Space Shuttle Columbia in 1997 as a mission specialist and primary robotic arm operator.

          </blockquote>
        </div>
        <div class="col-sm-4">
           <img src="https://cdn.glitch.global/438f3e8d-dfe7-4861-b60f-b0a2bccfecf0/Vinod-Dham.jpg?v=1661407043870" 
               height="150" width="150">
          <p>
            Vinod Dham
          </p>
          <blockquote>
            Vinod Dham is an Indian-American engineer, entrepreneur and venture capitalist. He is known as 'Father of the Pentium Chip' for his contribution to the development of Intel's Pentium micro-processor[2][3][4] He is a mentor, advisor and sits on the boards of companies, including startups funded through his India-based fund Indo-US Venture Partners,[5] where he is the founding managing director.
            
          </blockquote>
          
        </div>
        
      </div> -->
      
    </div>
    
    <footer class="container-fluid text-center">
      <p>@copyright 2022 ChampsofAIML</p>
    </footer>
 
  </body>
</html>