{ "info": { "author": "Aalok Sathe", "author_email": "aalok.sathe@richmond.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# cfd-reader\n\n[![pipeline status](https://gitlab.com/aalok-sathe/cfd-reader/badges/master/pipeline.svg)](https://gitlab.com/aalok-sathe/cfd-reader/commits/master)\n\n**A `python3` module to index, pre-process, and supply facial data from the Chicago Face Database (CFD).**\n\nA convenient way to load data from the Chicago Face Database, wrapped in `numpy` arrays, to feed to your neural network.\n\n## installation\nFrom a terminal, run the command:\n\n`[sudo -H] pip3 install cfd-reader`\n\n## usage\n\nIn your Python (3.5+) script or interpreter session, run (suggested syntax):\n\n`import cfd_reader as cfdr`\n\n### load face data\n\n`cfdr.load_data(`*[options]*`)`\n\n**where *options* include**:\n\n- `grayscale=[True, False]`:\n - `True`: provides 3 channel BGR output\n - `False`: provides single channel grayscale output\n- `train_proportion=x`:\n - `x`: real-valued variable between 0 and 1. `x` proportion of all data will be supplied as training data, and 1-x data will be supplied as test data\n- `resize=[False, (x,y)]`:\n - `False`: keeps images in their original resolution\n - `(x,y)`: tuple of integers to resize the image to\n\n**returns**:\n\n`numpy` array of shape `(n, x, y, c)` where `n` are the total number of images in that particular set (train/test), `(x,y)` is the 2D image shape, and `c` is the number of channels. In other words, `(x,y,c)` is the image shape.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gitlab.com/aalok-sathe/cfd-reader", "keywords": "", "license": "GPL-3", "maintainer": "", "maintainer_email": "", "name": "cfd-reader", "package_url": "https://pypi.org/project/cfd-reader/", "platform": "", "project_url": "https://pypi.org/project/cfd-reader/", "project_urls": { "Homepage": "http://gitlab.com/aalok-sathe/cfd-reader" }, "release_url": "https://pypi.org/project/cfd-reader/0.2.1/", "requires_dist": null, "requires_python": ">=3.5", "summary": "A Python module to access the Chicago Face Database", "version": "0.2.1" }, "last_serial": 4012696, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "188e8c37493f3a9237f887ee0d0da720", "sha256": "28b599597741143ebc77e2dd5a50afa8770a444d8f1da94585d0bda08c7b6415" }, "downloads": -1, "filename": "cfd_reader-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "188e8c37493f3a9237f887ee0d0da720", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 10115, "upload_time": "2018-06-25T16:25:32", "url": "https://files.pythonhosted.org/packages/be/a6/b30ade9b023003d5296cb2ea4b7f31bf953b24de13998609eb591efe695d/cfd_reader-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "421bdb80ae392ab10e5ff4f5c6e6c587", "sha256": "c6b19c4c52c6019d3642df7db819523d1a276a7e9a1d1462d71c9a73126cf9dc" }, "downloads": -1, "filename": "cfd-reader-0.1.1.tar.gz", "has_sig": false, "md5_digest": "421bdb80ae392ab10e5ff4f5c6e6c587", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 8396, "upload_time": "2018-06-25T16:25:33", "url": "https://files.pythonhosted.org/packages/97/5f/b8b7fa04837a63c0ab64f9698f030054835ac9113cd391ba4a59dbd602b6/cfd-reader-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "35329a6c65274377af232c8e4949eb8d", "sha256": "f00467a6e74be0879bf4b05c48be9b27d323c599d07cc6a8a2f8adbc8f3a31ed" }, "downloads": -1, "filename": "cfd_reader-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "35329a6c65274377af232c8e4949eb8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11005, "upload_time": "2018-06-28T20:16:01", "url": "https://files.pythonhosted.org/packages/30/24/b6c639990ae16920f4d403d7d7902f368d3394d9e9f36b749b286a444f96/cfd_reader-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb4df3547f17b556e8f407ec6f9ab92e", "sha256": "573bb1de3d17ca556df43a7d38e691964c0ba2cd9038e567df533ada087e482f" }, "downloads": -1, "filename": "cfd-reader-0.2.1.tar.gz", "has_sig": false, "md5_digest": "eb4df3547f17b556e8f407ec6f9ab92e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 9321, "upload_time": "2018-06-28T20:16:00", "url": "https://files.pythonhosted.org/packages/c8/b2/1a25b271ed1f652263a22e6b062e4e9326679c901f3364f76141a5c126c3/cfd-reader-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "35329a6c65274377af232c8e4949eb8d", "sha256": "f00467a6e74be0879bf4b05c48be9b27d323c599d07cc6a8a2f8adbc8f3a31ed" }, "downloads": -1, "filename": "cfd_reader-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "35329a6c65274377af232c8e4949eb8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11005, "upload_time": "2018-06-28T20:16:01", "url": "https://files.pythonhosted.org/packages/30/24/b6c639990ae16920f4d403d7d7902f368d3394d9e9f36b749b286a444f96/cfd_reader-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb4df3547f17b556e8f407ec6f9ab92e", "sha256": "573bb1de3d17ca556df43a7d38e691964c0ba2cd9038e567df533ada087e482f" }, "downloads": -1, "filename": "cfd-reader-0.2.1.tar.gz", "has_sig": false, "md5_digest": "eb4df3547f17b556e8f407ec6f9ab92e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 9321, "upload_time": "2018-06-28T20:16:00", "url": "https://files.pythonhosted.org/packages/c8/b2/1a25b271ed1f652263a22e6b062e4e9326679c901f3364f76141a5c126c3/cfd-reader-0.2.1.tar.gz" } ] }