Code Monkey home page Code Monkey logo

joint-object-detection-and-depth-estimation-in-image's Introduction

Joint Object Detection and Depth Estimation in Image

Repository for the Deep Learning course project:

  • Milad Samimifar
  • Pooria Ashrafian

Object detection method that can simultaneously estimate the positions and depth of the objects from images. (Based on NYU-Depth V2 dataset)

The NYU-Depth V2 data set is comprised of video sequences from a variety of indoor scenes as recorded by both the RGB and Depth cameras from the Microsoft Kinect.


Joint object detection and depth estimation web app using streamlit (recomended): Object_detection_web_app_streamlit repository

  1. Download yolov3 weights and put it in Object_detection_web_app_streamlit folder:
wget -nc https://pjreddie.com/media/files/yolov3.weights -P Object_detection_web_app_streamlit
  1. Download our Unet depth model weights and put it in ./models_depth/Unet folder:

Shell commmand:

gdown --id 1fvzPVqKj46WjaYw6OUr1a38KblWkGC4W -O ./models_depth/Unet/2.h5 # weights

gdown --id 1g685-v1qGv6NBE7nhY0LSQDgUemJXarc -O ./models_depth/Unet/2.json # model(json file)
  1. install requirements:
pip install streamlit opencv-python black
  1. Execute:
cd Object_detection_web_app_streamlit
streamlit run ./src/app.py

image


Joint object detection and depth estimation web app using django: Object_detection_web_app repository

  1. Download yolov3 weights and put it in Object_detection_web_app folder:
wget -nc https://pjreddie.com/media/files/yolov3.weights -P Object_detection_web_app
  1. Install requirements:
pip install -r ./Object_detection_web_app/requirements.txt
  1. Execute the code below: (Only once)
cd Object_detection_web_app
python manage.py collectstatic
  1. Execute:
python manage.py runserver

image


Joint object detection and depth estimation: demo

Joint_notebook.ipynb:

  • Download dataset and preprocessing
  • Train Unet model for depth estimation [1]

image

  • Yolov3 Object detection

image

  • Joint model and test

image


Reference

[1] Ibraheem Alhashim and Peter Wonka. High quality monocular depth estimation via transfer learning. arXiv preprint arXiv:1812.11941, 2018.

joint-object-detection-and-depth-estimation-in-image's People

Contributors

milad-s5 avatar pooria90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pooria90 nuruzh

joint-object-detection-and-depth-estimation-in-image's Issues

Score

180/100
80 Extra Score.
Well done. If you like to work on paper pls, let me know.

README

Hi
Very nice, Well done.
There is a problem with one of the photos in your README. I recommend fixing it.
Thanks

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.