- Detect object(s) in images.
- Draw 3D boxes around detected objects.
- Measure real world dimensions of detected objects in meters.
- Identify the smallest locker / crate (from a list of predefined dimensions) that can be used to box the detected object.
- The project is using Streamlit as its frontend interface.
- The project can run on streamlit cloud (for inference only).
- For training the models, the project must be downloaded to a local machine with proper NVIDIA GPU.
- Install cuDNN from https://developer.nvidia.com/cudnn (Follow cuDNN installation requirements)
- Create a new conda environment using
conda create -n <env_name> python=<python_version>
and activate it. - Install proper pytorch version with GPU support from https://www.pytorch.org (Pytorch official website)
- Install all dependencies using
pip install -r requirements_local.txt
- Install ninja from https://www.ninja-build.org and add it to path.
- Install 'Command Line C/C++ Compiler for Microsoft' CL.exe and add it to path. Refer to https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options?view=msvc-170
- Browse to
src/iou3d_win
and runpython setup.py install
to compile and install IOU3D on your system.
- Install GCC from https://gcc.gnu.org/
- Browse to
src/iou3d_unix
and runpython setup.py install
to compile and install IOU3D on your system.
- Browse to the root of the project and run
streamlit run main.py
. The program will open in a web browser.
- Signup / Signin to your Github account https://www.github.com
- Upload the project to Github. You can follow instructions on https://docs.github.com/en/get-started/importing-your-projects-to-github/importing-source-code-to-github/adding-locally-hosted-code-to-github
- Signup / Signin to your Streamlit account https://streamlit.io/
- Follow on screen instructions to link your Github account and repo.