{ "info": { "author": "Wong Jin Yung", "author_email": "wongjinyung@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "mtl\n===\n\n``mtl`` (**m**\\ oving **t**\\ ime-**l**\\ apse) is a ``python`` tool to create time lapse animation from photos taken not from a fixed camera (hence 'moving') with identifiable markers.\n\n``mtl`` align time series photos with markers (3 or 4 markers) provided as .TPS file (digitized with `TPSDig software `_), and output the aligned photos and time-lapse movie.\n\nrequires\n--------\n``mtl`` is based on `OpenCV `_'s implementation of affine transformation (with 3 markers provided) and perspective transformation (with 4 markers provided). A nice explanation on the transformation methods can be found `here `_.\n\nOutput of time-lapse video is based on `ffmpeg `_. To use ``mtl``, both ``OpenCV`` and ``ffmpeg`` are required.\n\nhow to use?\n-----------\n1. Use as a ``python`` package. \n\n2. Directly use the ``mtl.py`` ``python`` module, if you prefer. Download the `file `_.\n\n``mtl`` can be directly used as command line script, with the following arguments:\n\n -h, --help show this help message and exit\n -t, --tps \t path to tps file containing landmarks for alignments\n -i, --img\t path to the directory containing images to be aligned\n -s, --sep separator between individual and time in image name.\n NOTE: use single quote (') for special character in Unix\n systems\n\nAlternatively, ``mtl`` can be imported into ``python``:\n\n >>> from mtl import align\n\nThe main function of ``mtl`` is ``align``, which provides more options. For further details run:\n \n >>> help(align)\n\npreparing images and markers file\n---------------------------------\n``mtl`` supports batch processing of multiple time series photos. Different time series (such as 'individuals') and time points should be indicated in the file name of the images. For examples, ``1-1.tif``, ``1-2.tif``, ..., ``1-100.tif`` and ``a-1.tif``, ``a-2.tif``, ..., ``a-100.tif`` will be processed as two different time series of '1' and 'a' with time points of 1, 2, ..., 100. These images should be placed in a single directory. A dash '-' is used to separate the time series and time points here so this should be instructed to the program. Only a single ``.TPS`` file is required for processing multiple time series photos, and it should contains markers for all images in the directory to be processed.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jinyung/mtl", "keywords": "time-lapse barnacle", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mtl", "package_url": "https://pypi.org/project/mtl/", "platform": "", "project_url": "https://pypi.org/project/mtl/", "project_urls": { "Homepage": "https://github.com/jinyung/mtl" }, "release_url": "https://pypi.org/project/mtl/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "moving time lapse", "version": "0.0.1" }, "last_serial": 3443680, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "058715fdeb717b3995ab025e7fe5a5fd", "sha256": "7e20c1b064dfb1103d9c76a900b7c49171c8edb9f313d3d3a0e70d08d25c6d2b" }, "downloads": -1, "filename": "mtl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "058715fdeb717b3995ab025e7fe5a5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8114, "upload_time": "2017-12-26T17:07:56", "url": "https://files.pythonhosted.org/packages/b7/e2/f23ff53c7eb8a567371ab0984f46d6bbd36e204bb1cdc2dc3c602fc2d8b8/mtl-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "058715fdeb717b3995ab025e7fe5a5fd", "sha256": "7e20c1b064dfb1103d9c76a900b7c49171c8edb9f313d3d3a0e70d08d25c6d2b" }, "downloads": -1, "filename": "mtl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "058715fdeb717b3995ab025e7fe5a5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8114, "upload_time": "2017-12-26T17:07:56", "url": "https://files.pythonhosted.org/packages/b7/e2/f23ff53c7eb8a567371ab0984f46d6bbd36e204bb1cdc2dc3c602fc2d8b8/mtl-0.0.1.tar.gz" } ] }