you can test this source code on here: http://www.marearts.com/webapp/qrcode/
newMat_3ch = np.zeros((rows, cols, 3), dtype = "uint8") #3channel
newMat_1ch = np.zeros((rows, cols), dtype = "uint8") #1channel
Mat is just numpy array.
from os import listdir
from os.path import isfile, join
mypath = "./customer_sample"
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]
['._s1.pdf', 's2.pdf', '._s2.pdf', '._s7.pdf', 's8.pdf', '._s8.pdf', '._s9.pdf', 's10.pdf', '._s10.pdf', 's1_p0.jpg', 's9.pdf', '._s1_p0.jpg', '._s4.pdf', 's5.pdf', '._s5.pdf', 's6.pdf', '._s6.pdf', 's7.pdf', '._s3.pdf', 's4.pdf', 's2_p0.jpg', 's2_p1.jpg', 's3_p0.jpg', 's3.pdf', 's3_p1.jpg', 's3_p2.jpg', 's1.pdf', 's3_p3.jpg']
make well divided linear coordinate And make pair coordinate Please see code for detail explanation. import numpy as np import cv2 ...
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
8 point algorithm (Matlab source code) / The method to get the Fundamental Matrix and the Essential matrixCreated Date : 2011.8 Language : Matlab Tool : Matlab 2010 Library & Utilized : - Reference : Multiple View Geometry (Hartly and Z...
This post is about how to copy Mat data to vector and copy vector data to Mat. Reference this example source code. printf("///////...
opencv lecture 4-1 example code < gist start > < gist end >
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
1. Map : Tasks read from and write to specific data elements. 2. Gather : each calculation gathers input data elements together from di...