Skip to content

Instantly share code, notes, and snippets.

View sateesh12's full-sized avatar

Sateesh Kalidas sateesh12

View GitHub Profile
@sateesh12
sateesh12 / 21072024_cpp_cuda.ipynb
Last active July 21, 2024 17:46
21072024_Cpp_CUDA.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sateesh12
sateesh12 / landmark_based_relative_depth.py
Created July 17, 2024 06:28
Human landmark based relative dept estimation using MiDAS
#!/usr/bin/python3
#Author : Sateesh Kalidas
#Date : 13/July/2024
#Reference: https://medium.com/artificialis/swift-and-simple-calculate-object-distance-with-ease-in-just-few-lines-of-code-38889575bb12
#Purpose : Landmark based depth estimation
import mediapipe as mp
import cv2
import numpy as np
mp_pose = mp.solutions.pose