Skip to content

agilamlabs/Image-Cipher-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–ΌοΈ Image Cipher Generator with Streamlit πŸ”’

This repository contains a web application that allows users to apply a simple cipher or decipher images by shifting pixel values. The app is built using Streamlit and lets you securely encode and decode images with ease.

πŸ“š Table of Contents


✨ Features

  • πŸ–ΌοΈ Upload images in JPG, JPEG, or PNG formats.
  • πŸ” Cipher Images: Encode images by shifting pixel values.
  • πŸ”“ Decipher Images: Decode previously ciphered images.
  • πŸ“ˆ Adjustable Shift Value for the cipher and decipher operations.
  • πŸ’Ύ Download the processed image.
  • πŸ’» Interactive web interface built with Streamlit.

πŸš€ Demo

You can try a live demo of the application by uploading an image and applying a cipher or decipher operation.

Live Demo

πŸ› οΈ Installation

To run this application locally, follow these steps:

Prerequisites

Make sure you have the following installed:

  • Python 3.8 or higher

Steps

  1. Clone the repository:

    git clone https://github.com/yourusername/image-cipher-generator.git
    cd image-cipher-generator
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # For macOS and Linux
    venv\Scripts\activate     # For Windows
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the Streamlit app:

    streamlit run app.py
  5. Open the application in your browser:

    http://localhost:8501
    

πŸ“ Usage

  1. Open the app in your browser.
  2. πŸ–ΌοΈ Upload an image using the "Choose an image..." button.
  3. Select a shift value using the slider (default is 50).
  4. Choose to Cipher or Decipher the image.
  5. The app will display the processed image.
  6. πŸ“₯ Download the ciphered or deciphered image.

🧰 Technologies Used

  • πŸ–₯️ Streamlit - For building the web application interface.
  • πŸ§ͺ NumPy - For numerical operations on image arrays.
  • πŸ–ΌοΈ PIL (Pillow) - For handling image processing.
  • πŸ”’ Python - For the application backend.

πŸ™ Acknowledgments

This project uses Streamlit for the UI and Pillow for image handling.

🀝 Connect with Me

  • YouTube
  • LinkedIn

Thank You

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages