{ "info": { "author": "Michael Hirsch, Ph.D.", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Scientific/Engineering :: Visualization" ], "description": "[![Build Status](https://travis-ci.com/scivision/pibayer.svg?branch=master)](https://travis-ci.com/scivision/pibayer)\n[![Maintainability](https://api.codeclimate.com/v1/badges/66560126d66fb438a9d4/maintainability)](https://codeclimate.com/github/scivision/raspicam-raw-bayer/maintainability)\n[![PyPi version](https://img.shields.io/pypi/pyversions/pibayer.svg)](https://pypi.python.org/pypi/pibayer)\n[![PyPi formats](https://img.shields.io/pypi/format/pibayer.svg)](https://pypi.python.org/pypi/pibayer)\n[![PyPi Download stats](http://pepy.tech/badge/pibayer)](http://pepy.tech/project/pibayer)\n\n# Raspicam raw Bayer mask pixels\n\nAcquire RAW Bayer-masked images with Raspberry Pi camera (before demosaicking). \nWrites HDF5, NetCDF or TIFF compressed image stacks.\n\n\n## Install\n\nTo be installed directly on the Raspberry Pi, using Python ≥ 3.5:\n```sh\napt install python3-numpy\n\npython3 -m pip install -e .\n```\n\nRunning the self-test must be done on a Raspberry Pi with camera module:\n```sh\npython3 -m pip install -e .[tests]\n\npython3 -m pytest\n```\n\nTo install advanced (HDF5, NetCDF4) image writing libraries:\n```sh\napt install python3-netcdf4 python3-h5py\n```\n\n### Tips\n* Avoid MMAL errors: `raspi-config` → Advanced Options → Memory Split should be 128 MB, not 64 MB.\n* Fix error \"ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory\" by:\n ```sh\n apt install libatlas-dev\n ```\n\n## Examples\n\nSetting of exposure time manually (seconds) is mandatory to avoid mistakes in experiments.\n\n### RAW live video display\n```sh\n./getrawimage.py 0.01 -a\n```\n\n### Dump image stack to disk\n\n* NetCDF: `./getrawimage.py 0.01 output.nc`\n* HDF5: `./getrawimage.py 0.01 output.h5`\n* TIFF: `./getrawimage.py 0.01 output.tif`\n\n## Command-Line Options\n\n* `-a` GPU-based preview, for aiming camera (fast) \n* `-p` use Matplotlib for slow, live (10 seconds per frame) display \n* `-e` exp_sec manually set exposure time, up to one second (there are still some auto-set gains) \n* `-8` output 8-bit array instead of default 10-bit array\n\n## Notes\n\n[Constraints on exposure time](http://picamera.readthedocs.io/en/latest/fov.html#camera-modes)\n\n---\n\n> ValueError: cannot save to a group with the scipy.io.netcdf backend\n\nis fixed by:\n```sh\napt install libnetcdf-dev\n\npip install netcdf4\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/scivision/raspicam-raw-bayer", "keywords": "raspberry pi,pi camera,bayer,raw image", "license": "", "maintainer": "", "maintainer_email": "", "name": "pibayer", "package_url": "https://pypi.org/project/pibayer/", "platform": "", "project_url": "https://pypi.org/project/pibayer/", "project_urls": { "Homepage": "https://github.com/scivision/raspicam-raw-bayer" }, "release_url": "https://pypi.org/project/pibayer/0.6.0/", "requires_dist": null, "requires_python": ">= 3.5", "summary": "Acquire raw Bayer-masked image from Raspberry Pi camera and write image stack to HDF5 or TIFF.", "version": "0.6.0" }, "last_serial": 4193139, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "90bb92fac0cd96a2c838243d2e5b8325", "sha256": "cbb7294e9d477f58810db76e87bb5a42b5e97ab3279c76113760bf7156ac1b4c" }, "downloads": -1, "filename": "pibayer-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "90bb92fac0cd96a2c838243d2e5b8325", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 5056, "upload_time": "2017-11-05T23:05:03", "url": "https://files.pythonhosted.org/packages/b8/4e/51cc9f72885c4c7293ed20dee9a1eb551baadcebdd63454260f7f8be258b/pibayer-0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f7c8de1096512e6afe28c79459ba1ee", "sha256": "b0b5679a1a94fa4397b8f41ecc8b60f63ecefbc9cfd136d7e283a1fae85de427" }, "downloads": -1, "filename": "pibayer-0.5.tar.gz", "has_sig": false, "md5_digest": "7f7c8de1096512e6afe28c79459ba1ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4369, "upload_time": "2017-11-05T23:05:01", "url": "https://files.pythonhosted.org/packages/f3/ff/97adb2299887308cccb626443d81cb1a0ed25e159ce39f4eae556608c707/pibayer-0.5.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "72f706d09c5ab19db86d4dbfcb36d6c6", "sha256": "682baa9f7512695b47655eecd292d0cce10958c25a160be59766054c718e6a74" }, "downloads": -1, "filename": "pibayer-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "72f706d09c5ab19db86d4dbfcb36d6c6", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 5023, "upload_time": "2017-11-05T23:43:21", "url": "https://files.pythonhosted.org/packages/14/70/aefd53501833a7c18ba36077954d0317585b40fb0b1aa56a641929943609/pibayer-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d046dd556aff804541088c8cde7aa30f", "sha256": "a1c39b22df73f9c4eee09d3f2a03dcc75943fedcc1ca40a59b1f34cdad34417d" }, "downloads": -1, "filename": "pibayer-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d046dd556aff804541088c8cde7aa30f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4298, "upload_time": "2017-11-05T23:43:20", "url": "https://files.pythonhosted.org/packages/0e/53/3bad20cf75a8939545d5d21a5c8590d124376c5245fe927f4faec1ed51fc/pibayer-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "3b71c5950de1373b60872ed30c97307e", "sha256": "6f04389f8476c54395ea182f7acbb6520cec73fd0c4afd85d5d8a17b6bf37d3e" }, "downloads": -1, "filename": "pibayer-0.6.0.tar.gz", "has_sig": false, "md5_digest": "3b71c5950de1373b60872ed30c97307e", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.5", "size": 5632, "upload_time": "2018-08-21T16:19:28", "url": "https://files.pythonhosted.org/packages/4e/48/474c48030fcfcded044cc9b93f9c1daf93887fc0df1f501aaa81e6575476/pibayer-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b71c5950de1373b60872ed30c97307e", "sha256": "6f04389f8476c54395ea182f7acbb6520cec73fd0c4afd85d5d8a17b6bf37d3e" }, "downloads": -1, "filename": "pibayer-0.6.0.tar.gz", "has_sig": false, "md5_digest": "3b71c5950de1373b60872ed30c97307e", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.5", "size": 5632, "upload_time": "2018-08-21T16:19:28", "url": "https://files.pythonhosted.org/packages/4e/48/474c48030fcfcded044cc9b93f9c1daf93887fc0df1f501aaa81e6575476/pibayer-0.6.0.tar.gz" } ] }