dschandra commited on
Commit
70448b7
·
verified ·
1 Parent(s): e2e7737

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -13
templates/index.html CHANGED
@@ -6,19 +6,9 @@
6
  </head>
7
  <body>
8
  <h1>Cricket T20 Ball Tracking & LBW Analysis</h1>
9
- <form id="lbw-form">
10
- <label>Pitching X (0 to 1):</label>
11
- <input type="number" name="pitching_x" step="0.1" min="0" max="1" value="0.5"><br>
12
- <label>Pitching Y (0 to 1):</label>
13
- <input type="number" name="pitching_y" step="0.1" min="0" max="1" value="0.0"><br>
14
- <label>Impact X (0 to 1):</label>
15
- <input type="number" name="impact_x" step="0.1" min="0" max="1" value="0.5"><br>
16
- <label>Impact Y (0 to 1):</label>
17
- <input type="number" name="impact_y" step="0.1" min="0" max="1" value="0.5"><br>
18
- <label>Speed (m/s):</label>
19
- <input type="number" name="speed" min="0" value="30"><br>
20
- <label>Spin (rps):</label>
21
- <input type="number" name="spin" min="0" value="0"><br>
22
  <button type="submit">Analyze LBW</button>
23
  </form>
24
  <h2>Result</h2>
 
6
  </head>
7
  <body>
8
  <h1>Cricket T20 Ball Tracking & LBW Analysis</h1>
9
+ <form id="lbw-form" enctype="multipart/form-data">
10
+ <label>Upload Video (MP4, AVI, MOV):</label>
11
+ <input type="file" name="video" accept=".mp4,.avi,.mov" required><br>
 
 
 
 
 
 
 
 
 
 
12
  <button type="submit">Analyze LBW</button>
13
  </form>
14
  <h2>Result</h2>