Python images to video library using OpenCV
Project description
images2video
=============
Python images to video library using OpenCV
## Installation
```bash
pip install images2video
# or
pip install https://github.com/messense/images2video/archive/master.zip
```
Note that you also need to install OpenCV and numpy to make it work.
## Usage
```python
from images2video import ImagesToVideo
from images2video.effects import * # NOQA
video = ImagesToVideo('test.avi', seconds=10)
video.add_image('1.jpg', ResizeEffect)
video.add_image('2.jpg', CropEffect, bounce=True)
video.add_image('3.jpg', RotationEffect, bounce=True)
video.generate()
```
## License
The MIT License (MIT)
Copyright (c) 2014 messense
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
=============
Python images to video library using OpenCV
## Installation
```bash
pip install images2video
# or
pip install https://github.com/messense/images2video/archive/master.zip
```
Note that you also need to install OpenCV and numpy to make it work.
## Usage
```python
from images2video import ImagesToVideo
from images2video.effects import * # NOQA
video = ImagesToVideo('test.avi', seconds=10)
video.add_image('1.jpg', ResizeEffect)
video.add_image('2.jpg', CropEffect, bounce=True)
video.add_image('3.jpg', RotationEffect, bounce=True)
video.generate()
```
## License
The MIT License (MIT)
Copyright (c) 2014 messense
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
images2video-0.2.zip
(8.0 kB
view details)
images2video-0.2.tar.gz
(4.2 kB
view details)
File details
Details for the file images2video-0.2.zip
.
File metadata
- Download URL: images2video-0.2.zip
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae98366b5c2f7685ec6047ce1caabbcf04282825b40e56024e80f58018f555b6 |
|
MD5 | 4d1c824822c5f9143dbe4543b804b5f2 |
|
BLAKE2b-256 | a851c97d1c0919d4bb92a985c06bf18eac881161ee84691cbe00716c314dd2af |
File details
Details for the file images2video-0.2.tar.gz
.
File metadata
- Download URL: images2video-0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 490f37b02a95e267e841e8da46ec3d124bb4cd478fae79b5547265e95d571e70 |
|
MD5 | cc61986191149b30e4d560971e42d540 |
|
BLAKE2b-256 | 8cd0bf5e78b2cea629b9519a9577b444acc16a1af78b45adb5d5dd0384f4d830 |