You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
photo source: Photos are placed in the photos folder of the current directory by default
The previous photo: Defined in createNevImage, one can modify it yourself
alpha: modify the transparency of the previous photo, the default is 0.5, one can modify the test by yourself
photos: After running the code, several photos will be generated in the code directory, which are generated indirectly during running. The final photo is final.jpg
past.py past3.py: is the experimental code, corresponding to final2.jpg, fianl.jpg. The specific difference between the two codes is the different cascading method.
Note:
The transfer function directly resets the size of the photo, so the photo will be deformed. Due to the proportion of cropping the photo may make the photo no longer coordinated.
About
This โ project mainly uses Python's third-party libraries PIL, numpy etc. to implement splicing ๐ฏ hundreds of ๐ผ photos and ๐ช mixing them with one another.