This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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[]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# --- (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 |