Stack Images Example
Code example here
Code
StackImageExample.py
import nkdcv
import cv2
cap = cv2.VideoCapture(0)
cap.set(3, 1280)
cap.set(4, 720)
while True:
success, img = cap.read()
imgGray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
imgList = [img, img, imgGray, img, imgGray, img,imgGray, img, img]
stackedImg = nkdcv.stackImages(imgList, 3, 0.4)
cv2.imshow("stackedImg", stackedImg)
cv2.waitKey(1)