/opencv_sample

OpenCV Sample Code in C++

Primary LanguageC++Apache License 2.0Apache-2.0

OpenCV Sample Code

demo.mp4

undistortion_calibration

00_doc/undistortion_calibration.jpg

  • Basic camera calibration using chessboard pattern

undistortion_manual_unified_projection

00_doc/undistortion_manual_unified_projection.jpg

  • Manual camera calibration using the unified projection model for fisheye / omnidirectional camera

projection_points_3d_to_2d

  • Projection (3D points (world coordinate) to a 2D image plane) using editable camera parameters
projection_points_3d_to_2d_floor.mp4
projection_points_3d_to_2d_wall.mp4

projection_image_3d_to_2d

  • Projection (image in world coordinate to a 2D image plane) using editable camera parameters
projection_image_3d_to_2d.mp4

transformation_topview_projection

  • Transformation to top view image using projection

00_doc/transformation_topview_projection.jpg

transformation_homography

  • Homobraphy transformation
transformation_homography.mp4

distance_calculation

  • Distance calculation on ground plane

00_doc/distance_calculation.jpg

dnn_face

  • Face Detection using YuNet
  • Head Pose Estimatino Using SolvePnP
  • Overlay icon with transparent mask

00_doc/dnn_face.jpg 00_doc/dnn_face_mask.jpg

dnn_depth_midas

opencv_depth.mp4

reconstruction_depth_to_3d

  • 3D Reconstruction
    • Generate 3D point cloud from one single still image using depth map
    • Project these points onto 2D image with a virtual camera
opencv_3d_reconstruction_2.mp4

License

  • Copyright 2021 iwatake2222
  • Licensed under the Apache License, Version 2.0

Acknowledgements