Skip to content

Instantly share code, notes, and snippets.

@skpawar1305
skpawar1305 / restricted_unrestricted_zone.py
Created March 6, 2024 14:36
restricted_unrestricted_zone
# pip3 install ultralytics yt-dlp
# yt-dlp https://www.youtube.com/watch?v=YzcawvDGe4Y
import cv2
from ultralytics import YOLO
BLUE = (255, 0, 0)
GREEN = (0, 255, 0)
RED = (0, 0, 255)
@skpawar1305
skpawar1305 / turtlesim.ipynb
Last active March 5, 2024 17:23
turtlesim tutorial python notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skpawar1305
skpawar1305 / HSV_Calculator_ROS2.py
Last active December 6, 2023 23:13
HSV_Calculator_ROS2
#!/usr/bin/env python3
import rclpy
from sensor_msgs.msg import Image
import cv2
from cv_bridge import CvBridge
rclpy.init()