adafruit-circuitpython-ov7670


Nameadafruit-circuitpython-ov7670 JSON
Version 1.1.0 PyPI version JSON
download
home_page
SummaryCircuitPython driver for OV7670 cameras
upload_time2023-11-03 13:28:19
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords adafruit ov7670 camera breakout hardware micropythoncircuitpython
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============


.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ov7670/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/ov7670/en/latest/
    :alt: Documentation Status


.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord


.. image:: https://github.com/adafruit/Adafruit_CircuitPython_OV7670/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_OV7670/actions
    :alt: Build Status


.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

CircuitPython driver for OV7670 cameras

.. warning::
    This module requires the CircuitPython ``imagecapture`` module which is only in the unreleased development version ("Absolute Newest") of CircuitPython and is only supported on specific boards.

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.

.. :: Describe the Adafruit product this library works with. For PCBs, you can also add the image from the assets folder in the PCB's github repo.
.. :: `Purchase one from the Adafruit shop <http://www.adafruit.com/products/>`_



Usage Example
=============

On an Adafruit Metro M4 Grand Central, capture a 40x30 image into a buffer:

.. code-block:: python3

    import board
    from adafruit_ov7670 import OV7670

    cam = OV7670(
        bus,
        data_pins=[board.PCC_D0, board.PCC_D1, board.PCC_D2, board.PCC_D3, board.PCC_D4, board.PCC_D5, board.PCC_D6, board.PCC_D7],
        clock=board.PCC_CLK,
        vsync=board.PCC_DEN1,
        href=board.PCC_DEN2,
        mclk=board.D29,
        shutdown=board.D39,
        reset=board.D38,
    )
    cam.size = OV7670_SIZE_DIV16

    buf = bytearray(2 * cam.width * cam.height)

    cam.capture(buf)

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ov7670/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_OV7670/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "adafruit-circuitpython-ov7670",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adafruit,ov7670,camera,breakout,hardware,micropythoncircuitpython",
    "author": "",
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/8e/89/1e7dffcb38914b14d985e8fa4afca482817a49df73bd31ce0be74987601a/adafruit-circuitpython-ov7670-1.1.0.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ov7670/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/ov7670/en/latest/\n    :alt: Documentation Status\n\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_OV7670/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_OV7670/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nCircuitPython driver for OV7670 cameras\n\n.. warning::\n    This module requires the CircuitPython ``imagecapture`` module which is only in the unreleased development version (\"Absolute Newest\") of CircuitPython and is only supported on specific boards.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_\nor individual libraries can be installed using\n`circup <https://github.com/adafruit/circup>`_.\n\n.. :: Describe the Adafruit product this library works with. For PCBs, you can also add the image from the assets folder in the PCB's github repo.\n.. :: `Purchase one from the Adafruit shop <http://www.adafruit.com/products/>`_\n\n\n\nUsage Example\n=============\n\nOn an Adafruit Metro M4 Grand Central, capture a 40x30 image into a buffer:\n\n.. code-block:: python3\n\n    import board\n    from adafruit_ov7670 import OV7670\n\n    cam = OV7670(\n        bus,\n        data_pins=[board.PCC_D0, board.PCC_D1, board.PCC_D2, board.PCC_D3, board.PCC_D4, board.PCC_D5, board.PCC_D6, board.PCC_D7],\n        clock=board.PCC_CLK,\n        vsync=board.PCC_DEN1,\n        href=board.PCC_DEN2,\n        mclk=board.D29,\n        shutdown=board.D39,\n        reset=board.D38,\n    )\n    cam.size = OV7670_SIZE_DIV16\n\n    buf = bytearray(2 * cam.width * cam.height)\n\n    cam.capture(buf)\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/ov7670/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_OV7670/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CircuitPython driver for OV7670 cameras",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_REPLACE"
    },
    "split_keywords": [
        "adafruit",
        "ov7670",
        "camera",
        "breakout",
        "hardware",
        "micropythoncircuitpython"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db19cc53d0d1d5b9a161f3ae1bc79dc1cc7dffba3187f5ae00b0eadb373c97a5",
                "md5": "e635dee65979508c604818a82ce4c47d",
                "sha256": "b08408fea0ed9cc266b7b23022dd3b7d55412aff396cfafee21e85a2aa39665e"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_ov7670-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e635dee65979508c604818a82ce4c47d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11096,
            "upload_time": "2023-11-03T13:28:17",
            "upload_time_iso_8601": "2023-11-03T13:28:17.141148Z",
            "url": "https://files.pythonhosted.org/packages/db/19/cc53d0d1d5b9a161f3ae1bc79dc1cc7dffba3187f5ae00b0eadb373c97a5/adafruit_circuitpython_ov7670-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e891e7dffcb38914b14d985e8fa4afca482817a49df73bd31ce0be74987601a",
                "md5": "0487de5f750c7270aff95494e9b19e5c",
                "sha256": "ad1da383fd6842c292d205b3033d97da3fef22ba855b046f8c787c594199fd06"
            },
            "downloads": -1,
            "filename": "adafruit-circuitpython-ov7670-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0487de5f750c7270aff95494e9b19e5c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 35023,
            "upload_time": "2023-11-03T13:28:19",
            "upload_time_iso_8601": "2023-11-03T13:28:19.111131Z",
            "url": "https://files.pythonhosted.org/packages/8e/89/1e7dffcb38914b14d985e8fa4afca482817a49df73bd31ce0be74987601a/adafruit-circuitpython-ov7670-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-03 13:28:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adafruit",
    "github_project": "Adafruit_CircuitPython_REPLACE",
    "github_not_found": true,
    "lcname": "adafruit-circuitpython-ov7670"
}
        
Elapsed time: 0.20277s