Giter Club home page Giter Club logo

pose-estimation-and-ar's Introduction

Pose-estimation-and-AR

实际效果

ply模型 stl模型

演示视频

目录结构

  • src

    • main.cpp 主程序入口
    • CalibrationChessboard.cpp 标定程序
    • detectMarkers.cpp Aruco码检测
    • PoseDetectAruco.cpp AR主程序
    • PoseEstimation.cpp 相机姿态解算
    • ReadModel.cpp 读取模型文件
    • trackVisualiztion.cpp 相机姿态可视化
    • Visualizexd.cpp 2图片、3维模型可视化
  • header 对应的头文件目录

  • Img 标定和实验用图目录

  • models .stl和.ply模型目录

实验内容

main函数中可选进行标定或主实验内容detectPoseShow

若选择detectPoseShow,可利用ReadModelFile类读取模型文件。

程序在检测到指定的Aruco码(见Img目录)后将自动依据模型类别选择合适的方式可视化。

连续检测TRACK_NUM (100)次后将显示相机姿态轨迹。

Note

  • 若模型尺寸不对,可以调节对应函数的ratio参数。

使用的Opencv库函数

remap(); 
bitwise_and(); 
hconcat(); 
vconcat(); 
SVDecomp();
polylines(); 
circle(); 
cvtColor(); 
findChessboardCorners(); 
drawChessboardCorners();

pose-estimation-and-ar's People

Contributors

bugday001 avatar

Stargazers

Hayden avatar  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.