Skip to content

Convert your favorite images into captivating outline sketches effortlessly with this Python-based image processing project. This tool utilizes advanced computer vision techniques to detect edges and contours in photographs, transforming them into artistic outlines.

Notifications You must be signed in to change notification settings

ayush1184/Image-Outliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Based Image Outliner

This project converts images into outlines/pencil sketches using a Laplacian filter, now with a user-friendly web interface. The implementation leverages Flask for the web application and OpenCV/NumPy for image processing.

Home Page

Features

  • Drag & Drop Interface: Easily upload images by dragging or selecting files
  • Image Preview: See your selected image before processing
  • Outline Generation: Convert images to outlines with one click
  • Download Results: Save your outline images with a single click
  • Responsive Design: Works on both desktop and mobile devices

Technologies Used

  • Flask: Python web framework for the backend
  • OpenCV: For image processing tasks
  • NumPy: For numerical operations and array handling
  • HTML/CSS/JavaScript: For the interactive frontend interface

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/image-outliner-web.git
    cd image-outliner-web
  2. Create and activate a virtual environment (recommended):

    python -m venv venv
    # On Windows:
    venv\Scripts\activate
    # On Mac/Linux:
    source venv/bin/activate
  3. Install the required dependencies:

    pip install flask opencv-python numpy

Usage

  1. Run the Flask application:

    python app.py
  2. Open your web browser and navigate to:

    http://localhost:5000
    
  3. Use the interface to:

    • Drag & drop an image or click to select
    • Preview your selected image
    • Click "Generate Outline" to process
    • Download the result with the "Download Outline" button

About

Convert your favorite images into captivating outline sketches effortlessly with this Python-based image processing project. This tool utilizes advanced computer vision techniques to detect edges and contours in photographs, transforming them into artistic outlines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published