Coder Social home page Coder Social logo

ruralbuildguard's Introduction

Rural Build Guard Classifier

Enhancing Rural Infrastructure with AI Precision

This project implements a classifier that determines whether an image belongs to Indian rural areas or urban areas using machine learning models from Fastai and Gradio. The classifier is trained on the Techies dataset and deployed using Gradio for easy interaction.

Live project

The project is live at https://huggingface.co/spaces/beckk123/ruralbuildguard

Model

The model is available at https://drive.google.com/file/d/16RoJmW_k-IO2eja_LwUgqTCS5xaP-V-N/view

Technologies Used

Python, FastAI, Convolutional Neural Networks (CNN), Transfer Learning, Image Classification, Data Preprocessing, Data Augmentation

Installation

To install the required packages, use the following commands:

pip install gradio torch fastai folium==0.12.1 flask

Usage

  1. Make sure you have all the required dependencies installed.
  2. Run the provided Python script app.py.
  3. Upload an image to the interface.
  4. The classifier will predict whether the image belongs to Indian rural areas or urban areas.

File Description

  • app.py: Contains the Python script for loading the model, defining the classification function, and launching the Gradio interface.
  • techiesmodel.pkl: Pre-trained Fastai model for classifying images.
  • README.md: This file, providing information about the project.
  • requirements.txt : Lists all the dependencies required by the project.

Requirements

  • Python 3.6 or higher
  • Gradio 4.8.0
  • PyTorch
  • Fastai
  • Folium 0.12.1
  • Flask

License

This project is licensed under the MIT License - see the LICENSE file for details.

ruralbuildguard's People

Contributors

yashicagarg50 avatar

Watchers

 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.