Giter Site home page Giter Site logo

image-compression-using-svd's Introduction

Algeo02-20046

Disusun oleh kelompok HVTHFYGNSVD

NIM NAMA
13520046 Hansel Valentino Tanoto
13520047 Hana Fathiyah
13520053 Yohana Golkaria Nainggolan

Spesifikasi Tugas

Spesifikasi Tugas
Program ini merupakan sebuah website yang berfungsi mengompresi gambar menggunakan metode Singular Value Decomposition. Pada dasarnya, sebuah gambar dapat dimodelkan dengan sebuah matriks, dan dari matriks tersebut, dapat diolah menjadi bentuk matriks lainnya dalam waktu tertentu sebagai proses kompresi gambar. Informasi terpenting dari gambar tersebut tersimpan pada k kolom pertama matriks U, k nilai singular pertama, dan k baris pertama dari matriks V, sehingga dengan hanya mengambil data tersebut, dapat direkonstruksi matriks awal dengan resolusi yang lebih kecil.

Petunjuk Penggunaan

  1. Buka terminal (cmd), lalu install library yang diperlukan yaitu Pillow, opencv-python, flask, numpy, dan python-dotenv dengan cara ketik: pip install nama_library
  2. Ubah directory terminal ke folder program yaitu Algeo02-20046/src
  3. Ketik flask run pada terminal untuk menjalankan program
  4. Buka http://localhost:5000/ atau http://127.0.0.1.5000/ di browser
  5. Akan muncul tampilan web dengan title “Image Compression – Tubes 2 Algeo”
  6. Upload gambar yang ingin di-compress dengan klik tombol choose file lalu pilih gambarnya atau drag & drop gambar ke area tombol choose file.
  7. Masukkan skala kompresi yang diinginkan dan klik tombol Compress untuk memproses
  8. Akan muncul tanda loading di atas webpage, silakan tunggu hingga gambar hasil kompresinya muncul.
  9. Untuk mendownload gambar klik tombol Download di kanan bawah
  10. Untuk menghentikan program, ketik ctrl+c pada terminal (cmd)

image-compression-using-svd's People

Contributors

hanseltanoto avatar hanafathiyah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.