Skip to content

Instantly share code, notes, and snippets.

View Nvs05's full-sized avatar

Nicolás Vázquez Salgado Nvs05

View GitHub Profile
@pknowledge
pknowledge / opencv_python_object_detection.py
Created March 31, 2019 22:48
OpenCV Python Tutorial For Beginners - Object Detection and Object Tracking Using HSV Color Space
import cv2
import numpy as np
def nothing(x):
pass
cv2.namedWindow("Tracking")
cv2.createTrackbar("LH", "Tracking", 0, 255, nothing)
cv2.createTrackbar("LS", "Tracking", 0, 255, nothing)
cv2.createTrackbar("LV", "Tracking", 0, 255, nothing)
@dsposito
dsposito / ros-takeoff-hover-land.py
Created March 29, 2018 07:20
ros-takeoff-hover-land.py
#!/usr/bin/env python
import rospy
from mavros_msgs.srv import SetMode
from mavros_msgs.srv import CommandBool
from mavros_msgs.srv import CommandTOL
import time
rospy.init_node('mavros_takeoff_python')
rate = rospy.Rate(10)