How to make a natural transition from one picture to another?

how to make a natural transition from one picture to another?

language is unlimited, is there any open source solution?


import cv2
import time
old = cv2.imread('1.jpg')
new = cv2.imread('2.jpg')
cv2.imshow('image', old)
cv2.waitKey()   -sharp
t = 1000        -sharpms
fps = 60        -sharp60
step = 1000 / fps
i = 0
while i < t:
    cv2.imshow('image', cv2.addWeighted(old, 1 - i / t, new, i / t, 0))    -sharp
    if cv2.waitKey(1) &0xFF == ord('q'):
        break
    i += step
    time.sleep(0.001)

cv2.imshow('image', new)
cv2.waitKey()   -sharp
cv2.destroyAllWindows()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4c7fa-44eaf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4c7fa-44eaf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?