| <html> | |
| <head> | |
| <title>Cricket LBW Analysis</title> | |
| <link rel="stylesheet" href="/static/style.css"> | |
| </head> | |
| <body> | |
| <h1>Cricket T20 Ball Tracking & LBW Analysis</h1> | |
| <form id="lbw-form" enctype="multipart/form-data"> | |
| <label>Upload Video (MP4, AVI, MOV):</label> | |
| <input type="file" name="video" accept=".mp4,.avi,.mov" required><br> | |
| <button type="submit">Analyze LBW</button> | |
| </form> | |
| <h2>Result</h2> | |
| <p id="decision"></p> | |
| <p id="details"></p> | |
| <canvas id="pitchCanvas" width="400" height="600"></canvas> | |
| <script src="/static/script.js"></script> | |
| </body> | |
| </html> |