Coder Social home page Coder Social logo

Comments (3)

MichaelRamamonjisoa avatar MichaelRamamonjisoa commented on May 27, 2024

Hello, thank you for your interest in the paper. Yes I have code somewhere on my computer however it is rather hard-coded at the moment, but here is the general idea if you want to generate the same figures (actually some explainations are in supplementary materials).

  1. Choose your image I1, and compute the estimated depth D1 with SharpNet
  2. Render a depth map D_bunny and an RGB image I_bunny of the Stanford Bunny using this ply model and a renderer of your choice (i used Blender), using an object pose of your choice.
  3. Compute the new RGB image I2 that is a copy of I1 but with
    I2[D_bunny<D1] = I_bunny[D_bunny<D1]
    This should put pixels of the rendered bunny image instead of original the image when the scene is occluded by the bunny, and vice/versa.
  4. Look at your image and see if the bunny is at the distance you hoped it would be in the image, if not, repeat from 2.

I am sorry if you were looking more for a true augmented reality method, I may do that later for sequence of registered images but not in a little while.

from sharpnet.

Kakoedlinnoeslovo avatar Kakoedlinnoeslovo commented on May 27, 2024

Hello, Michael, thank you for your reply! Do you use contours on step 3? What do you mean by designation D1?

from sharpnet.

MichaelRamamonjisoa avatar MichaelRamamonjisoa commented on May 27, 2024

Hey, sorry for the late reply. No I do not use contours in step 3, only depth prediction. As for D1, it denotes the predicted depth map with SharpNet.

from sharpnet.

Related Issues (15)

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.