"Play Python" to build a remote monitoring system, thief? It doesn't exist!

Software and hardware list Card reader and SD card (for system installation) One camera, USB supported SSH connection tool (SecureCRT, Xshell) Broadband, router (home standing) Install the system's bramble pie 3B + one (charger, CPU cooling fan, etc.) Before you start, do you want to show the semi-finished product monitoring system as u ...

Posted on Wed, 16 Oct 2019 01:49:46 -0700 by tazz

OpenCV [OpenCV] OpenCV Actual Warfare From Beginning to Proficiency 12 - Teach you how to use pointers to access pixels

This article is the twelfth in the OpenCV Practical Warfare Series from Introduction to Proficiency [OpenCV] OpenCV Actual Warfare: An Introduction to OpenCV Macro [OpenCV] OpenCV Practical Operations From Introduction to Proficiency II--How OpenCV Carries out Image Corrosion Operations [OpenCV] O ...

Posted on Thu, 10 Oct 2019 14:39:33 -0700 by drak

Computer Vision OpenCV

chart Our mouse or touch interaction with the opencv image triggers events. Let's output EVENT to see what events opencv provides for us to call. events = [i for i in dir(cv2) if 'EVENT' in i] print(events) Output events. Look at how many events opencv provides us. Today we only focus on EVENT_LBUTTONDOWN and EVENT_RBUTTONDO ...

Posted on Tue, 08 Oct 2019 02:46:24 -0700 by danwguy

02 Computer Vision-opencv Threshold and Filtering Processing

1 grayscale # opencv reads in BGR format # The format read by matplotlib is RGB import cv2 import numpy as np import matplotlib.pyplot as plt %matplotlib inline img = cv2.imread("cat.jpg") img_gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) img_gray.shape (414, 500) cv2.imshow("img_gray",img_gray) cv2. ...

Posted on Sun, 06 Oct 2019 15:47:35 -0700 by refined

OpenCV Learning Notes: Image Affine Transform: warpAffine (), getRotation Matrix 2 D ()

OpenCV Learning Notes (15): Image Affine Transform: warpAffine (), getRotation Matrix 2 D () Any affine transformation can be expressed as multiplying a matrix (linear transformation) and then adding a vector (translation). Affine Transformation or Affine Map refers to the process of transforming a ve ...

Posted on Thu, 03 Oct 2019 22:10:41 -0700 by lJesterl

CUDA bilinear interpolation resize

//cuda void DownSampleRGBAImage( uint8_t *dev_img, uint8_t *dev_img_dn, int src_width,int src_height, int width, int height) { int block_num = 512; dim3 dim_grid((width * height + block_num - 1) / block_num); dim3 dim_block(block_num); D ...

Posted on Thu, 03 Oct 2019 19:15:07 -0700 by khaitan_anuj

YUV data are converted to RGB using Opencv, FFmepg and LibYUV respectively.

Preface This article mainly aims at their efficiency discussion, but does not make specific conversion analysis. In daily development, especially in codec projects, data format conversion is very common, such as YUV to RGB, YU12 to I420, or other formats, etc. We usually use either Opencv's cvtColor(), ...

Posted on Thu, 03 Oct 2019 10:41:24 -0700 by gordong1968

Compile OpenCV+OpenCV_Contrib under Windows

Compile OpenCV+OpenCV_Contrib under Windows 0 OpenCV and OpenCV_Contrib 1 Preparations 2 CMake Generate VS2017 Project 2.1 OpenCV4.0.1 Compile Configuration 2.2 OpenCV_Contrib4.0.1 Compile Configuration 2.3 Generation Engineering 3 VS2017 Generate Solutions and Installation Files 4 VS2017 Configure ...

Posted on Wed, 25 Sep 2019 19:26:57 -0700 by bhonan

Quickly learn how to write CMakeLists.txt files

    This paper summarizes the writing method of CMakeLists.txt file on linux platform. First General Module   1.1 cmake version requirements cmake_minimum_required( VERSION 2.8 ) # Project file name loop_closure, optional project( loop_closure ) 1.2 Compilation mode IF(NOT CMAKE_BUILD_T ...

Posted on Thu, 19 Sep 2019 00:24:33 -0700 by killerofet

(python) open CV find circle cv2.houghCircles()

On function parameter input and output: cv2.HoughCircles(image, method, dp, minDist, circles, param1, param2, minRadius, maxRadius) At this time, the input is gray-scale image, at the same time, it is better to specify the maximum and minimum radius of the circle to be detected, not blind detection, o ...

Posted on Thu, 19 Sep 2019 00:22:10 -0700 by RedRasper