Code Monkey home page Code Monkey logo

drill-bit-size-identification's Introduction

Drill bit identification task

Problem Statement

  • From the image of a drill bit, identify the drill size. This task has been solved as a supervised learning - classification problem wherein we train the model with different frames and provide it the expected drill sizes. During testing, we provide the frame to the model and predict which drill bit size it belongs to.

Windows executable - How to run model inference with inference.exe

  • Please place all unseen images in the inference_images directory and execute the inference.exe file

Python - How to run model inference with inference.py

  • Within a conda virtual environment please install

    • pytorch 1.13
    • python 3.9
    • opencv-python
      conda create -n env_setup python=3.9
      pip install opencv-python
      conda install pytorch torchvision torchaudio -c pytorch (For MAC only)
      
  • Once done, please place all unseen images in the inference_images directory and run

    python inference.py
    
  • Since the images would be placed in the inference_images folder, the program automatically picks up the images and generates predictions. These predictions will be written to a text file - "output.txt"

  • A sample output.txt (generated on the images present inside inference_images) has been provided to see what the final output would look like.

Note - Python only.

One can also provide another location to the unseen images by executing

python inference.py --inferenceDataset './inference_images/'

drill-bit-size-identification's People

Contributors

abhay-iy97 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.