{ "info": { "author": "Jerry Nieuviarts", "author_email": "jerry@mapado.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering :: Artificial Intelligence" ], "description": "cropy : Python content based image crop\n=========================================\nCommand line tool and module to crop an image to a specific resolution removing less important parts first.\n\nFirst started with the approch of this publication but seems a bit complex and slow (http://research.microsoft.com/en-us/um/people/jiansun/papers/SalientDetection_CVPR07.pdf).\n\ncropy uses entropy information to identify slices of the image with less informations.\n\n\nUsage\n-----\n\nTo use with command line::\n\n cropy -i [input image] -r [width] [height] -o [output name] -s [maxSteps]\n\n- input image : location of the image to crop\n- width, eight : dimensions of the resultant cropped image\n- output name : name of the output image (default : original_name.width.eight.orginal_extension)\n- maxSteps : number of iteration : greater means more precision but slower (default : 10)\n\nMore info and examples on http://blog.mapado.com/cropy-how-to-crop-an-image-keeping-the-best-content/\n\nInstallation\n------------\nYou can install cropy using pip::\n\n $ pip install cropy\n\n\nNote that cropy requires ``scikit-learn``, which itself is based on ``numpy`` and ``scipy`` and requires ``cython`` to compile.\n\nPossible upgrade\n----------------\n- locate faces inside image to prevent removing\n- locate text on images to crop first\n\n\nThanks\n------\nInspired from slycrop (php entropy based crop) : https://github.com/stojg/slycrop\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mapado/cropy", "keywords": "image,crop,entropy,autocrop,resize", "license": "FreeBSD", "maintainer": "", "maintainer_email": "", "name": "cropy", "package_url": "https://pypi.org/project/cropy/", "platform": "", "project_url": "https://pypi.org/project/cropy/", "project_urls": { "Homepage": "https://github.com/mapado/cropy" }, "release_url": "https://pypi.org/project/cropy/0.2/", "requires_dist": [ "numpy", "scipy", "scikit-image", "Pillow" ], "requires_python": "", "summary": "Command line tool and module to crop an image to a specific resolution removing less important parts first", "version": "0.2" }, "last_serial": 3371027, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e8a42162c6893a486621568318d01581", "sha256": "3d5f9cedfd412624127e4785cc05ae9708bc7eb50b94bc7577bc5f2091729da7" }, "downloads": -1, "filename": "cropy-0.1.tar.gz", "has_sig": false, "md5_digest": "e8a42162c6893a486621568318d01581", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3788, "upload_time": "2013-04-19T14:29:54", "url": "https://files.pythonhosted.org/packages/9b/09/9927a8a87e5625a5d3cdb93593d6b59bfc68563b831d1b6546c3b231f548/cropy-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b1b59e5bd6265773ea0bab03610c787b", "sha256": "deac7e6f7e2a8f27b4ba136cd9c291967c6c9fcde926a29b740da3b8b5e05194" }, "downloads": -1, "filename": "cropy-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1b59e5bd6265773ea0bab03610c787b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6010, "upload_time": "2017-11-28T13:28:21", "url": "https://files.pythonhosted.org/packages/45/cf/b97cd99e3a13ed1b10d0babb47a8801ffccd97a6f811c259fae1911da725/cropy-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd8c9849afc853f0cc527f109103d7b6", "sha256": "9b861556ad34c97f15551293e0b8e0318a86123c8564126f319736a4e0fb8416" }, "downloads": -1, "filename": "cropy-0.2.tar.gz", "has_sig": false, "md5_digest": "bd8c9849afc853f0cc527f109103d7b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3917, "upload_time": "2017-11-28T13:28:23", "url": "https://files.pythonhosted.org/packages/b8/49/cf67616e615314d4e10ad94324e0cd2c59cf499259ea8e9e85e7f1de34c6/cropy-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1b59e5bd6265773ea0bab03610c787b", "sha256": "deac7e6f7e2a8f27b4ba136cd9c291967c6c9fcde926a29b740da3b8b5e05194" }, "downloads": -1, "filename": "cropy-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1b59e5bd6265773ea0bab03610c787b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6010, "upload_time": "2017-11-28T13:28:21", "url": "https://files.pythonhosted.org/packages/45/cf/b97cd99e3a13ed1b10d0babb47a8801ffccd97a6f811c259fae1911da725/cropy-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd8c9849afc853f0cc527f109103d7b6", "sha256": "9b861556ad34c97f15551293e0b8e0318a86123c8564126f319736a4e0fb8416" }, "downloads": -1, "filename": "cropy-0.2.tar.gz", "has_sig": false, "md5_digest": "bd8c9849afc853f0cc527f109103d7b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3917, "upload_time": "2017-11-28T13:28:23", "url": "https://files.pythonhosted.org/packages/b8/49/cf67616e615314d4e10ad94324e0cd2c59cf499259ea8e9e85e7f1de34c6/cropy-0.2.tar.gz" } ] }