{ "info": { "author": "Kevin Walchko", "author_email": "walchko@github.users.noreply.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://raw.githubusercontent.com/walchko/ar_markers/master/pics/marker.png\n\t:target: https://github.com/walchko/ar_markers\n\nar_markers\n=================\n.. image:: https://img.shields.io/pypi/l/ar_markers.svg\n\t:target: https://github.com/walchko/ar_markers\n.. image:: https://img.shields.io/pypi/pyversions/ar_markers.svg\n\t:target: https://github.com/walchko/ar_markers\n.. image:: https://img.shields.io/pypi/wheel/ar_markers.svg\n\t:target: https://github.com/walchko/ar_markers\n.. image:: https://img.shields.io/pypi/v/ar_markers.svg\n\t:target: https://github.com/walchko/ar_markers\n\nDetection of hamming markers for OpenCV written in python.\n\nOriginally written by Max Brauer: `github `_.\nAll I did was clean up some little stuff and package it for use on pypi.\n\nThis package is able to read and create hamming markers, described in\n`this blogpost `_.\n\nPurpose\n--------\n\nThis project was for a robotics/computer vision `class `_\nI taught Spring 2018. I wanted something simple enough we could go through the\ncode and they could understood how it worked. I also taught them OpenCV, so\nI wanted something written in that. Eventually we made \"street signs\" and the\nstudents drove Roomba robots around on these \"strees\" (ok, really it was 3 inch\nwide black tape for the roads). When they detected an intersection, they used\na camera to read the street sign (ar marker) and it told them to: go straight,\nturn left, or turn right.\n\nSometimes it isn't as robust as I would like, so you may have to move the target\naround before it gets recognized.\n\nInstall\n---------\n\nThe simplest way to install is::\n\n pip install ar_markers\n\nYou will also need OpenCV 3.x as a minimum. On macOS you can do::\n\n\tbrew install opencv\n\nUsage\n-------------\n\nThere are two helper scripts:\n\n- ``ar_markers_generate.py`` to generate the markers. Do ``ar_markers_generate.py --help``\n to see the options\n- ``ar_markers_scan.py`` to scan the marker. Once you have created and printed out a\n marker, hold the marker in front of your camera. You will see a blue border around\n the marker, (if detected) and a green number, showing the ID the marker\n represents.\n\nor use in a program like:\n\n.. code-block:: python\n\n\t#!/usr/bin/env python\n\n\tfrom __future__ import print_function\n\timport cv2\n\tfrom ar_markers import detect_markers\n\n\n\tif __name__ == '__main__':\n\t\tprint('Press \"q\" to quit')\n\t\tcapture = cv2.VideoCapture(0)\n\n\t\tif capture.isOpened(): # try to get the first frame\n\t\t\tframe_captured, frame = capture.read()\n\t\telse:\n\t\t\tframe_captured = False\n\n\t\twhile frame_captured:\n\t\t\tmarkers = detect_markers(frame)\n\t\t\tfor marker in markers:\n\t\t\t\tmarker.highlite_marker(frame)\n\t\t\tcv2.imshow('Test Frame', frame)\n\t\t\tif cv2.waitKey(1) & 0xFF == ord('q'):\n\t\t\t\tbreak\n\t\t\tframe_captured, frame = capture.read()\n\n\t\t# When everything done, release the capture\n\t\tcapture.release()\n\t\tcv2.destroyAllWindows()\n\nBSD License\n-------------\n\nCopyright (c) 2007, Max Brauer\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\nIS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MomsFriendlyRobotCompany/ar_markers", "keywords": "framework,robotic,marker,vision,ar marker,ar", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "ar-markers", "package_url": "https://pypi.org/project/ar-markers/", "platform": "", "project_url": "https://pypi.org/project/ar-markers/", "project_urls": { "Homepage": "https://github.com/MomsFriendlyRobotCompany/ar_markers" }, "release_url": "https://pypi.org/project/ar-markers/0.5.0/", "requires_dist": [ "build-utils", "numpy" ], "requires_python": "", "summary": "A python robotic framework and tools", "version": "0.5.0" }, "last_serial": 4080135, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d1aebadfbe75c213f8f46389c9b599eb", "sha256": "a785e9068c901775b8ac3cec5ed6d92ee3e211e845fa635255ce91a89b570fac" }, "downloads": -1, "filename": "ar_markers-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d1aebadfbe75c213f8f46389c9b599eb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9560, "upload_time": "2017-06-25T17:06:38", "url": "https://files.pythonhosted.org/packages/c2/35/e1da5c52090889e9d7268224bd38e08baa8e4268875bb5d6703a4c0c8fc1/ar_markers-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "516d921f77ccea5c46b7c1e779bd1653", "sha256": "65afcf3c4bd5c67f71ec83a619304b5cb0cc4d018655f743bc6cca58a0911f51" }, "downloads": -1, "filename": "ar_markers-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "516d921f77ccea5c46b7c1e779bd1653", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9561, "upload_time": "2017-06-25T17:06:54", "url": "https://files.pythonhosted.org/packages/d6/98/3d6fa4e028d98cd6dcbdadf842ba1a8c9640cb73b58783dfa326e2795023/ar_markers-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c4680e9a6de05b9e5365688e06a3f33", "sha256": "a2f546869b28e617608ef1511f73e0d9d88a959d988ea4072d4bc89505a13e77" }, "downloads": -1, "filename": "ar_markers-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2c4680e9a6de05b9e5365688e06a3f33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5744, "upload_time": "2017-06-25T17:07:09", "url": "https://files.pythonhosted.org/packages/11/4f/33e9af6427f68e3e57923efabe5966fdb3cd1be43754e8838d3e9581814c/ar_markers-0.0.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d0b73019819359d286bba32f95dc84f2", "sha256": "5ffd3e9558acb14ea9caa9fd7b5344996781295346fd12ed94d8a8cb9ace835f" }, "downloads": -1, "filename": "ar_markers-0.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "d0b73019819359d286bba32f95dc84f2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9584, "upload_time": "2017-06-25T17:21:43", "url": "https://files.pythonhosted.org/packages/5c/a0/bc7022844ce5672ea5558526603ce94d83782ed16c1cc5f76dd088f2330e/ar_markers-0.3.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4714566063cc5754587da71883830d3", "sha256": "6748a196391f16220272fc368d248c31affe5e62fe6b466367b4c9fa2a36285c" }, "downloads": -1, "filename": "ar_markers-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c4714566063cc5754587da71883830d3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9584, "upload_time": "2017-06-25T17:21:45", "url": "https://files.pythonhosted.org/packages/62/08/9f1990aa313cf1065e410f069856df0d7165dd9498e013ea5f50b35b97bc/ar_markers-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f56107bb73d610326c2afaa3da2bb1b", "sha256": "66f7cfba9be2ab55c02c2feaf51d998905a6378cdc61ee6583975adc9680d404" }, "downloads": -1, "filename": "ar_markers-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6f56107bb73d610326c2afaa3da2bb1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5754, "upload_time": "2017-06-25T17:21:48", "url": "https://files.pythonhosted.org/packages/74/74/944c521d87cec62b8282031c937b9b3fb0bb4e7cb36963e6b4487c7999f0/ar_markers-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7290d513f660509c73f082b147c79e4c", "sha256": "1bb72d37c67fe208812fcffe89933426220bd808f277d9cb21f5a90a2134a3d6" }, "downloads": -1, "filename": "ar_markers-0.4.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7290d513f660509c73f082b147c79e4c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11100, "upload_time": "2017-06-25T17:23:45", "url": "https://files.pythonhosted.org/packages/16/a8/840002195351e0c5ded5f38159bf2b877f322fa7863d28e97c8ddd2d9af0/ar_markers-0.4.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "47305cb7c7399c2cbfc2e134d0fb06b6", "sha256": "bd0175dc4497ccce5aabc7699968552db330dff606024828a021adc715b4bcec" }, "downloads": -1, "filename": "ar_markers-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "47305cb7c7399c2cbfc2e134d0fb06b6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11099, "upload_time": "2017-06-25T17:23:46", "url": "https://files.pythonhosted.org/packages/27/22/39b6627b02ed2a4b05061caa91231a6b2a686e3aab182e091d6e5654b232/ar_markers-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34c1b7e141ede12e31e8e5fb8af63f48", "sha256": "eb4199b68ea00cad5ae1505061679c256cf16690f95c4feb2b951cacbdf2c6a0" }, "downloads": -1, "filename": "ar_markers-0.4.0.tar.gz", "has_sig": false, "md5_digest": "34c1b7e141ede12e31e8e5fb8af63f48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6540, "upload_time": "2017-06-25T17:23:48", "url": "https://files.pythonhosted.org/packages/a6/d3/8eb8c57bda482cae73c6489d3913406fb5c9a87a7cc46b2837bdb75575aa/ar_markers-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "c3571cf42d6e00a408182bf0a0bfaea0", "sha256": "68b2b9524bfa9e1cdec06e6284c7880027e15da19177e07f241c9d956412f534" }, "downloads": -1, "filename": "ar_markers-0.4.1-py2-none-any.whl", "has_sig": false, "md5_digest": "c3571cf42d6e00a408182bf0a0bfaea0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11056, "upload_time": "2017-06-25T17:30:52", "url": "https://files.pythonhosted.org/packages/39/69/c459e061740cc43c5c3d06feb91c730f66cf4dc74ef456ef987a2aca442f/ar_markers-0.4.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9baf5df810e0be28c8328970e686f078", "sha256": "98ab258ebe6e9e2504a024398977a90728fe8e56491b9df5ed53105739b85465" }, "downloads": -1, "filename": "ar_markers-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9baf5df810e0be28c8328970e686f078", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11056, "upload_time": "2017-06-25T17:30:53", "url": "https://files.pythonhosted.org/packages/f1/87/ff3256f2d1958831bf263f050a5e5fb8fd18799bab9fa43c2a618f8f676a/ar_markers-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8a7f4836ed1e04accc975222b492d1d", "sha256": "c3c7b854e68604dbc6f4537b904608dbb2654495fa6b8637456172ef4d1816e7" }, "downloads": -1, "filename": "ar_markers-0.4.1.tar.gz", "has_sig": false, "md5_digest": "b8a7f4836ed1e04accc975222b492d1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6520, "upload_time": "2017-06-25T17:30:54", "url": "https://files.pythonhosted.org/packages/92/04/b8f5a6ac3778cbb449ec9207647413b36fcedffc8fe8342a430290640bbf/ar_markers-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "e1dff1ba4ea7a6695b4d9ddb57e3b942", "sha256": "cb2d705518f89352e74101d16c3399e1e62930c281b2cb30d9931c6672d3f0a5" }, "downloads": -1, "filename": "ar_markers-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "e1dff1ba4ea7a6695b4d9ddb57e3b942", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9155, "upload_time": "2018-07-18T22:53:42", "url": "https://files.pythonhosted.org/packages/65/33/d395c1bf9805bd437f62ee394dc6cb1755f0802922dbca47d7da2be58c65/ar_markers-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1cf981bbee0d6a4e58f2efb807a84b6f", "sha256": "c615aedad9dfacc0bb258a89bb9e9856e5c66c339c74760b8a3b27adcd51c507" }, "downloads": -1, "filename": "ar_markers-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1cf981bbee0d6a4e58f2efb807a84b6f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9156, "upload_time": "2018-07-18T22:53:43", "url": "https://files.pythonhosted.org/packages/19/08/11e04a15e7e30b122a0459caf2e52555146e09dfb193aceaec4c553e21a0/ar_markers-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1874eab3333466e399f8250fa6d402e", "sha256": "f357d893b60ae8fe4eeac2e5e94d0a280e2c9f561d1258812d996a0413d78c21" }, "downloads": -1, "filename": "ar_markers-0.5.0.tar.gz", "has_sig": false, "md5_digest": "a1874eab3333466e399f8250fa6d402e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7461, "upload_time": "2018-07-18T22:53:44", "url": "https://files.pythonhosted.org/packages/f5/9a/21ac43197af6466332fbdbd05a3548fd74dfd5861ba56d64cc9095b69e3e/ar_markers-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1dff1ba4ea7a6695b4d9ddb57e3b942", "sha256": "cb2d705518f89352e74101d16c3399e1e62930c281b2cb30d9931c6672d3f0a5" }, "downloads": -1, "filename": "ar_markers-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "e1dff1ba4ea7a6695b4d9ddb57e3b942", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9155, "upload_time": "2018-07-18T22:53:42", "url": "https://files.pythonhosted.org/packages/65/33/d395c1bf9805bd437f62ee394dc6cb1755f0802922dbca47d7da2be58c65/ar_markers-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1cf981bbee0d6a4e58f2efb807a84b6f", "sha256": "c615aedad9dfacc0bb258a89bb9e9856e5c66c339c74760b8a3b27adcd51c507" }, "downloads": -1, "filename": "ar_markers-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1cf981bbee0d6a4e58f2efb807a84b6f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9156, "upload_time": "2018-07-18T22:53:43", "url": "https://files.pythonhosted.org/packages/19/08/11e04a15e7e30b122a0459caf2e52555146e09dfb193aceaec4c553e21a0/ar_markers-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1874eab3333466e399f8250fa6d402e", "sha256": "f357d893b60ae8fe4eeac2e5e94d0a280e2c9f561d1258812d996a0413d78c21" }, "downloads": -1, "filename": "ar_markers-0.5.0.tar.gz", "has_sig": false, "md5_digest": "a1874eab3333466e399f8250fa6d402e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7461, "upload_time": "2018-07-18T22:53:44", "url": "https://files.pythonhosted.org/packages/f5/9a/21ac43197af6466332fbdbd05a3548fd74dfd5861ba56d64cc9095b69e3e/ar_markers-0.5.0.tar.gz" } ] }