<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebPage">

<head>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="apple-touch-icon" sizes="76x76" href="./static/assets/home/img/apple-icon.png">
<link rel="icon" type="image/png" href="./static/assets/home/img/favicon.png">

<title>
  
  Detection ET Disease
  
</title>


<!--     Fonts and icons     -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" />

<!-- Nucleo Icons -->
<link href="./static/assets/home/css/nucleo-icons.css" rel="stylesheet" />
<link href="./static/assets/home/css/nucleo-svg.css" rel="stylesheet" />

<!-- Font Awesome Icons -->
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
<link href="./static/assets/home/css/nucleo-svg.css" rel="stylesheet" />

<!-- CSS Files -->
<link id="pagestyle" href="./static/assets/home/css/soft-design-system.css?v=1.0.9" rel="stylesheet" />

<!-- Nepcha Analytics (nepcha.com) -->
<!-- Nepcha is a easy-to-use web analytics. No cookies and fully compliant with GDPR, CCPA and PECR. -->
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>
</head>

<body class="index-page">
<!-- Navbar Light -->
<nav
class="navbar navbar-expand-lg navbar-light bg-white z-index-3 py-3">
<div class="container">
  <a class="navbar-brand" href="https://demos.creative-tim.com/soft-ui-design-system-pro/presentation.html" rel="tooltip" title="Designed and Coded by Creative Tim" data-placement="bottom" target="_blank">
    Essential Thrombocythemia
  </a>
  <!-- <a href="https://www.creative-tim.com/product/soft-ui-design-system-pro#pricingCard" class="btn btn-sm  bg-gradient-primary  btn-round mb-0 ms-auto d-lg-none d-block">Start Nowm</a> -->
  <button class="navbar-toggler shadow-none ms-2" type="button" data-bs-toggle="collapse" data-bs-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon mt-2">
      <span class="navbar-toggler-bar bar1"></span>
      <span class="navbar-toggler-bar bar2"></span>
      <span class="navbar-toggler-bar bar3"></span>
    </span>
  </button>
  <div class="collapse navbar-collapse w-100 pt-3 pb-2 py-lg-0" id="navigation">
    <ul class="navbar-nav navbar-nav-hover mx-auto">
      <li class="nav-item mx-2">
        <a class="nav-link ps-2 d-flex justify-content-between cursor-pointer align-items-center" role="button" href="">
          Deteksi 
          <!-- <img src="../../static/assets/home/img/down-arrow-dark.svg" alt="down-arrow" class="nav-link"> -->
        </a>
      </li>
      
      <li class="nav-item dropdown dropdown-hover mx-2">
        <a class="nav-link ps-2 d-flex justify-content-between cursor-pointer align-items-center" role="button" href="">
          Kelas Deteksi
          <img src="../../static/assets/home/img/down-arrow-dark.svg" alt="down-arrow" class="arrow ms-1">
        </a>
      </li>
    </ul>

    <!-- <ul class="navbar-nav d-lg-block d-none">
      <li class="nav-item">
        <a href="/classification" class="btn btn-sm  bg-gradient-primary  btn-round mb-0 me-1" role="button">Start Now</a>
      </li>
    </ul> -->
  </div>
</div>
</nav>
<!-- End Navbar -->
</div></div></div>


<!-- Modal untuk menampilkan tutorial -->
<div class="modal" id="tutorialModal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title">Tutorial</h5>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body">
          <div id="tutorialCarousel" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ul class="carousel-indicators">
              <li data-target="#tutorialCarousel" data-slide-to="0" class="active"></li>
              <li data-target="#tutorialCarousel" data-slide-to="1"></li>
              <li data-target="#tutorialCarousel" data-slide-to="2"></li>
              <li data-target="#tutorialCarousel" data-slide-to="3"></li>
            </ul>
  
            <!-- Wrapper for slides -->
            <div class="carousel-inner">
              <!-- Langkah 1 -->
              <div class="carousel-item active">
                <div class="text-center">
                  <h3>Langkah 1</h3>
                  <div class="image-container">
                    <img src="../../static/assets/home/img/anastasia.jpg" alt="Langkah 1" class="centered-image">
                </div>                
                <br>
                  <h5>Tekan tombol "Choose File"</h5>
                </div>
              </div>

              <div class="carousel-item">
                <div class="text-center">
                  <h3>Langkah 2</h3>
                  <div class="image-container">
                    <img src="../../static/assets/home/img/anastasia.jpg" alt="Langkah 2" class="centered-image">
                </div>                
                <br>
                  <h5>Memilih gambar yang akan di identifikasi</h5>
                </div>
              </div>

              <div class="carousel-item">
                <div class="text-center">
                  <h3>Langkah 3</h3>
                  <div class="image-container">
                    <img src="../../static/assets/home/img/anastasia.jpg" alt="Langkah 3" class="centered-image">
                </div>
                <br>                
                  <h5>Memposisikan tempat posisi penyakit pada daun kopi</h5>
                </div>
              </div>

              <div class="carousel-item">
                <div class="text-center">
                  <h3>Langkah 4</h3>
                  <div class="image-container">
                    <img src="../../static/assets/home/img/anastasia.jpg" alt="Langkah 4" class="centered-image">
                </div>    
                <br>            
                  <h5>Membaca hasil penanganan dan chart probabilitas</h5>
                </div>
              </div>
  
              <!-- Tambahkan langkah-langkah selanjutnya dengan struktur yang sama -->
            </div>

            <br>
            <!-- Left and right controls -->
            <a class="carousel-control-prev" href="#tutorialCarousel" role="button" data-slide="prev">
              <span class="carousel-control-prev-icon" aria-hidden="true"></span>
              <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next" href="#tutorialCarousel" role="button" data-slide="next">
              <span class="carousel-control-next-icon" aria-hidden="true"></span>
              <span class="sr-only">Next</span>
            </a>
          </div>
        </div>
        <div class="modal-footer">
          <!-- Tombol tutup modal -->
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Tutup</button>
        </div>
      </div>
    </div>
</div>
<!-- End Modal -->


<!-- -------- START Features Detection -------- -->
<div class="container">
    <div class="content mt-3">
        <div class="col-lg-6 mx-auto">
            <div class="card custom-card">
                <div class="card-header">
                    <h4 class="text-center text-primary">Upload Gambar</h4>
                </div>
                <div class="card-body">
                    <form method="post" enctype="multipart/form-data">
                        <div class="form-group row">
                            <label for="upload_image" class="col-3 col-form-label">Pilih Gambar</label>
                            <div class="col-6">
                                <input type="file" id="upload_image" name="image" class="form-control-file" accept=".jpg, .jpeg">
                            </div>
                            <div class="col-3">
                                <input type="reset" class="btn btn-sm btn-primary btn-round" value="Clear" onclick="clearImage()">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        
        <div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
            <div class="modal-dialog modal-lg" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" style="color: red;">Catatan: Untuk hasil yang lebih akurat  , atur posisi pemangkasan (crop) dengan cermat</h5>
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                            <span aria-hidden="true">×</span>
                        </button>
                    </div>
                    <div class="modal-body">
                        <div class="img-container">
                            <div class="row">
                                <div class="col-md-8">
                                    <img src="" id="sample_image" class="sample-image" />
                                </div>
                                <div class="col-md-4">
                                    <div class="preview"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="modal-footer">
                        <button type="button" id="crop" class="btn btn-primary">Potong</button>
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Batal</button>
                    </div>
                </div>
            </div>
        </div>
        

        <div class="col-lg-6 mx-auto">
            <div class="card custom-card" id="hasilDeteksi" style="display: none;">
                <div class="card-header">
                    <h4>Hasil Deteksi</h4>
                </div>
                <div class="card-body text-center" id="result"></div>
            </div>
                <div id="penjelasan" style="display: none;">
                </div>
            </div>

            <div id="pie" style="display: none;" class="col-lg-6 mx-auto">
                <div class="card custom-card">
                    <h4 class="card-header">Persentase Probabilitas</h4>
                    <div class="card-body">
                        <canvas id="pieChart" width="10" height="10"></canvas>
                    </div>
                </div>
            </div>
            
        
        

        <div id="penjelasanContainer" style="display: none;">
            <div class="card pop-card">
                <div class="card-header">
                    <h4>Detail</h4>
                    <button type="button" class="close" aria-label="Close" onclick="closePenjelasan()">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="card-body">
                    <!-- Content goes here -->
                </div>
            </div>
        </div>
    </div>
</div>

<!-- -------- END Features w/ title and 3 infos -------- -->


  
<!-- Footer-->
  <footer class="footer pt-5 mt-5" id="contact">
  <hr class="horizontal dark mb-5">
  <div class="container">
    <div class=" row">
      <div class="col-md-3 mb-4 ms-auto">
        <div>
          <h6 class="text-gradient text-primary font-weight-bolder">Soft UI Design System</h6>
        </div>
        <div>
          <h6 class="mt-3 mb-2 opacity-8">Social</h6>
          <ul class="d-flex flex-row ms-n3 nav">
            <li class="nav-item">
              <a class="nav-link pe-1" href="https://www.facebook.com/CreativeTim/" target="_blank">
                <i class="fab fa-facebook text-lg opacity-8"></i>
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link pe-1" href="https://twitter.com/creativetim" target="_blank">
                <i class="fab fa-twitter text-lg opacity-8"></i>
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link pe-1" href="https://dribbble.com/creativetim" target="_blank">
                <i class="fab fa-dribbble text-lg opacity-8"></i>
              </a>
            </li>


            <li class="nav-item">
              <a class="nav-link pe-1" href="https://github.com/creativetimofficial" target="_blank">
                <i class="fab fa-github text-lg opacity-8"></i>
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link pe-1" href="https://www.youtube.com/channel/UCVyTG4sCw-rOvB9oHkzZD1w" target="_blank">
                <i class="fab fa-youtube text-lg opacity-8"></i>
              </a>
            </li>
          </ul>
        </div>
      </div>



      <div class="col-md-2 col-sm-6 col-6 mb-4">
        <div>
          <h6 class="text-gradient text-primary text-sm">Company</h6>
          <ul class="flex-column ms-n3 nav">
            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/presentation" target="_blank">
                About Us
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/templates/free" target="_blank">
                Freebies
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/templates/premium" target="_blank">
                Premium Tools
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/blog" target="_blank">
                Blog
              </a>
            </li>
          </ul>
        </div>
      </div>

      <div class="col-md-2 col-sm-6 col-6 mb-4">
        <div>
          <h6 class="text-gradient text-primary text-sm">Resources</h6>
          <ul class="flex-column ms-n3 nav">
            <li class="nav-item">
              <a class="nav-link" href="https://iradesign.io/" target="_blank">
                Illustrations
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/bits" target="_blank">
                Bits & Snippets
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/affiliates/new" target="_blank">
                Affiliate Program
              </a>
            </li>
          </ul>
        </div>
      </div>

      <div class="col-md-2 col-sm-6 col-6 mb-4">
        <div>
          <h6 class="text-gradient text-primary text-sm">Help & Support</h6>
          <ul class="flex-column ms-n3 nav">
            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/contact-us" target="_blank">
                Contact Us
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/knowledge-center" target="_blank">
                Knowledge Center
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://services.creative-tim.com/?ref=ct-soft-ui-footer" target="_blank">
                Custom Development
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/sponsorships" target="_blank">
                Sponsorships
              </a>
            </li>

          </ul>
        </div>
      </div>

      <div class="col-md-2 col-sm-6 col-6 mb-4 me-auto">
        <div>
          <h6 class="text-gradient text-primary text-sm">Legal</h6>
          <ul class="flex-column ms-n3 nav">
            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/terms" target="_blank">
                Terms &amp; Conditions
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/privacy" target="_blank">
                Privacy Policy
              </a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="https://www.creative-tim.com/license" target="_blank">
                Licenses (EULA)
              </a>
            </li>
          </ul>
        </div>
      </div>

      <div class="col-12">
        <div class="text-center">
          <p class="my-4 text-sm">
            All rights reserved. Copyright © <script>document.write(new Date().getFullYear())</script> Soft UI Design System by <a href="https://www.creative-tim.com" target="_blank">Creative Tim</a>.
          </p>
        </div>
      </div>
    </div>
  </div>
</footer>
<!-- End Footer-->

<!--   Core JS Files   -->
<script src="./static/assets/home/js/core/popper.min.js" type="text/javascript"></script>
<script src="./static/assets/home/js/core/bootstrap.min.js" type="text/javascript"></script>
<script src="./static/assets/home/js/plugins/perfect-scrollbar.min.js"></script>

<!--  Plugin for TypedJS, full documentation here: https://github.com/inorganik/CountUp.js -->
<script src="./static/assets/home/js/plugins/countup.min.js"></script>
<script src="./static/assets/home/js/plugins/choices.min.js"></script>
<script src="./static/assets/home/js/plugins/prism.min.js"></script>
<script src="./static/assets/home/js/plugins/highlight.min.js"></script>

<!--  Plugin for Parallax, full documentation here: https://github.com/dixonandmoe/rellax -->
<script src="./static/assets/home/js/plugins/rellax.min.js"></script>
<!--  Plugin for TiltJS, full documentation here: https://gijsroge.github.io/tilt.js/ -->
<script src="./static/assets/home/js/plugins/tilt.min.js"></script>
<!--  Plugin for Selectpicker - ChoicesJS, full documentation here: https://github.com/jshjohnson/Choices -->
<script src="./static/assets/home/js/plugins/choices.min.js"></script>

<!--  Plugin for Parallax, full documentation here: https://github.com/wagerfield/parallax  -->
<script src="./static/assets/home/js/plugins/parallax.min.js"></script>

<!-- Control Center for Soft UI Kit: parallax effects, scripts for the example pages etc -->
<!--  Google Maps Plugin    -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDTTfWur0PDbZWPr7Pmq8K3jiDp0_xUziI"></script>
<script src="./static/assets/home/js/soft-design-system.min.js?v=1.0.9" type="text/javascript"></script>
<script src="./static/assets/home/js/soft-design-system.min.js"></script>
<script src="./static/assets/home/js/soft-design-system.min.js.map"></script>
<script src="./static/assets/home/js/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="./static/assets/home/js/plugins/cropper-master/cropper.min.js"></script>
<script src="./static/assets/home/js/custom.js"></script>

<script type="text/javascript">

  if (document.getElementById('state1')) {
    const countUp = new CountUp('state1', document.getElementById("state1").getAttribute("countTo"));
    if (!countUp.error) {
      countUp.start();
    } else {
      console.error(countUp.error);
    }
  }
  if (document.getElementById('state2')) {
    const countUp1 = new CountUp('state2', document.getElementById("state2").getAttribute("countTo"));
    if (!countUp1.error) {
      countUp1.start();
    } else {
      console.error(countUp1.error);
    }
  }
  if (document.getElementById('state3')) {
    const countUp2 = new CountUp('state3', document.getElementById("state3").getAttribute("countTo"));
    if (!countUp2.error) {
      countUp2.start();
    } else {
      console.error(countUp2.error);
    };
  }
</script>

</body>

</html>