1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2024-08-27 18:31:36 +03:00
108 changed files with 1241 additions and 646 deletions
+2
View File
@@ -43,12 +43,14 @@ def main():
sys.exit(-1)
imgs.append(img)
#![stitching]
stitcher = cv.Stitcher.create(args.mode)
status, pano = stitcher.stitch(imgs)
if status != cv.Stitcher_OK:
print("Can't stitch images, error code = %d" % status)
sys.exit(-1)
#![stitching]
cv.imwrite(args.output, pano)
print("stitching completed successfully. %s saved!" % args.output)