Skip to content

Instantly share code, notes, and snippets.

View f41ardu's full-sized avatar
💭
I may be to fast to respond.

f41_ardu f41ardu

💭
I may be to fast to respond.
  • Stuttgart / Baden- Württemberg / Germany
  • 23:14 (UTC +02:00)
View GitHub Profile
@f41ardu
f41ardu / gist:ac521a69a90fffa18f733e2e573f201d
Created January 27, 2024 07:52
Simple client to put data via get request t
# esp rest client with authentification
# this will be the new energy monitoring esp client
# this is the testversion
# network
import urequests
import ujson as json
import ubinascii
import time
# bmp and dht hardware
from machine import Pin
@f41ardu
f41ardu / tello_opencv_Cam.py
Last active October 16, 2023 12:20
Raspberry, python3.7, opencv and Tello.
#
# --- (c) 01/2020 f41ardu
#
# Tello cam using opencv proof of concept
# issue: huge delay -> Tipp scale down video size for improved performance on Raspberry PI 3+
# May also work with older versions of opencv supporting incomming udp streams.
#
#import numpy as np
# import opencv 4.2.0
@f41ardu
f41ardu / opencv_video_to_pygame.py
Created February 10, 2020 10:13 — forked from radames/opencv_video_to_pygame.py
OpenCV VideoCapture running on PyGame
import pygame
from pygame.locals import *
import cv2
import numpy as np
import sys
camera = cv2.VideoCapture(0)
pygame.init()
pygame.display.set_caption("OpenCV camera stream on Pygame")
screen = pygame.display.set_mode([1280,720])
@f41ardu
f41ardu / tello_opencvcam.cpp
Last active January 28, 2020 20:41
Tello Camera in c++
//Uncomment the following line if you are compiling this code in Visual Studio
//#include "stdafx.h"
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, char* argv[])