googleOcr.blade.php 793 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Google Cloud Vision OCR</title>
  5. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  6. </head>
  7. <body>
  8. <div class="container">
  9. <div class="row mt-3">
  10. <form method="post" action="{{ route('submit') }}" enctype="multipart/form-data">
  11. @csrf
  12. <div class="mb-3">
  13. <label for="file" class="form-label">Select file:</label>
  14. <input type="file" id="file" name="file" class="form-control">
  15. </div>
  16. <button type="submit" class="btn btn btn-primary">Submit</button>
  17. </form>
  18. </div>
  19. </div>
  20. </body>
  21. </html>