Code Monkey home page Code Monkey logo

camplot3d's Introduction

camplot3d

A 3D perspective transformation and rendering API featuring both pytorch and numpy

Examples

Camera position and Field-of-View (fov) calibration

Using machine learning to inference on the position and fov of cameras within the scene. See tutorial.

Here is a demo video on the training process.

learning.mp4

The pink points indicate the cameras whose positions are to be learned. The green points indicates the true camera positions. The lines are the ray tracing lines for inferencing the positions and fovs.

Object 3D position detection

After calibrating the cameras, the two cameras are now able to detect the 3D position of any items in the scene.

Here is the object placed in the scene:

image

Then, both cameras captures images of the scene:

image image

Two tracing rays are generated from the above two images. Here is the position detection result:

image

The red point is the true object center (1/2, 1/2, 1/3), and the cyan point is the detected object position (0.4969, 0.5038, 0.3421). The pink rays indicate the tracing rays from the captured.

camplot3d's People

Contributors

matt-kou avatar

Stargazers

 avatar Yuanzhe Liu 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.