GithubHelp home page GithubHelp logo

siamesecomparison's Introduction

Project README

Table of Contents

  1. Project Overview
  2. Motivation
  3. Project Structure
  4. Features
  5. Installation
  6. Usage
  7. Future Work
  8. Contributing
  9. License
  10. Acknowledgements

Project Overview

This project aims to automate the process of finding specific types of bikes across different marketplaces. Currently, it supports data extraction from Blocket. The project consists of three main processes and some additional commands, primarily written in JavaScript and Python.

Motivation

Finding the right bike across various online marketplaces can be a time-consuming task. This project is designed to simplify this process by using machine learning and automated data extraction to identify and locate specific types of bikes efficiently.

Project Structure

The project is organized into the following main components:

  1. Frontend (FE)

    • Built with Vite.
    • Allows users to create a boundary box around the object of interest.
    • Generates a CSV file to train the machine learning model.
  2. API

    • Developed using Node.js with Express.
    • Acts as the coordinator and nexus between the frontend, the data extraction service, and the commands.
  3. Data Extraction Service

    • Responsible for extracting data from different marketplaces.
    • Currently implemented for Blocket.
  4. Commands (Python)

    • Train Model: A command to train the machine learning model.
    • Evaluate Image: A command to evaluate an image using the trained model.

Features

  • Frontend Interface:

    • Create boundary boxes for objects.
    • Export data to CSV for model training.
  • API:

    • Integrates different services and commands.
    • Provides endpoints for data extraction and model evaluation.
  • Data Extraction:

    • Extracts bike listings from Blocket.
  • Machine Learning:

    • Train a model using provided CSV data.
    • Evaluate images to find specific bikes.

Installation

Prerequisites

  • Node.js and npm
  • Python 3.x
  • Vite

Steps

  1. Clone the Repository

    git clone https://github.com/yourusername/yourproject.git
    cd yourproject
  2. Install Frontend Dependencies

    cd frontend
    npm install
  3. Install API Dependencies

    cd ../api
    npm install
  4. Install Python Dependencies

    pip install -r requirements.txt

Usage

Running the Frontend

  1. Navigate to the frontend directory:

    cd frontend
  2. Start the development server:

    npm run dev
  3. Open your browser and go to http://localhost:3000.

Running the API

  1. Navigate to the API directory:

    cd api
  2. Start the API server:

    npm start
  3. The API server will be running at http://localhost:3001.

Running the Commands

  • Train Model:

    python train_model.py --data_path path/to/csv
  • Evaluate Image:

    python evaluate_image.py --model_path path/to/model --image_path path/to/image

Future Work

  • Add support for more marketplaces.
  • Improve the machine learning model.
  • Enhance the frontend user interface.
  • Implement additional commands and functionalities.

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/feature-name).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/feature-name).
  5. Create a new Pull Request.

License

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

Acknowledgements

  • Thanks to all contributors and open-source libraries used in this project.

siamesecomparison's People

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.