{"id":14972660,"url":"https://github.com/sagban/zbar-barcode-reader-python-javascript","last_synced_at":"2025-07-18T22:02:51.504Z","repository":{"id":43138607,"uuid":"135714028","full_name":"sagban/Zbar-barcode-reader-python-javascript","owner":"sagban","description":"A barcode reader which detects and read barcode and Qr codes from the live streaming webcam, laptop cam and mobile phones (back and front both) camera.","archived":false,"fork":false,"pushed_at":"2022-11-22T02:18:39.000Z","size":10435,"stargazers_count":31,"open_issues_count":10,"forks_count":45,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T23:03:45.884Z","etag":null,"topics":["barcode","barcode-detection","barcode-reader","barcode-scanner","barcodes","django-framework","javascript","python","python3","zbar"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sagban.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-01T12:18:16.000Z","updated_at":"2024-05-30T23:23:25.000Z","dependencies_parsed_at":"2023-01-21T12:30:03.033Z","dependency_job_id":null,"html_url":"https://github.com/sagban/Zbar-barcode-reader-python-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagban%2FZbar-barcode-reader-python-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagban%2FZbar-barcode-reader-python-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagban%2FZbar-barcode-reader-python-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagban%2FZbar-barcode-reader-python-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagban","download_url":"https://codeload.github.com/sagban/Zbar-barcode-reader-python-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394323,"owners_count":19464583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","barcode-detection","barcode-reader","barcode-scanner","barcodes","django-framework","javascript","python","python3","zbar"],"created_at":"2024-09-24T13:47:17.433Z","updated_at":"2025-02-12T00:31:51.185Z","avatar_url":"https://github.com/sagban.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zbar-barcode-reader-python-javascript\nA bar code reader which detects and read barcode and Qr codes from the live streaming webcam, laptop cam and mobile phones (back and front both) camera.\n\nFeatures\n-------\n\n- Reads and decodes any type of bar code and qr code from the live camera stream.\n- Compatible with all the modern devices.\n- Can be accessible from the mobile camera (back and front both)\n- Uses javascript `getUserMedia ` API call to get live camera feed.\n- Uses Python open source library (Zbar) Pyzbar for barcode decoding.\n- Runs on Django server.\nNote: Code can be use on different python frameworks.\nImportant Files: `/bar/static/js/main.js` `/bar/views.py` `/bar/barcode.py`\n\nUsage\n-------\n\n**To run locally:**\n\nFirst fork this repository and then follow these steps:\n```\ngit clone https://github.com/your-name/Zbar-barcode-reader-python-javascript.git\ncd Zbar-barcode-reader-python-javascript\npip install -r requirements.txt\npython manage.py runserver\n```\nNow open [127.0.0.1:8000](127.0.0.1:8000 \"127.0.0.1:8000\") locally on your browser.\n\n\n*Note: Starting with Chrome 47, `getUserMedia()` requests are only allowed from secure origins: HTTPS or localhost.*\n\n*Solution: For development use `django-sslserver` for testing on different mobile devices and IP other than localhosts. Find this out [here](https://github.com/teddziuba/django-sslserver \"here\")*\n**For best results use mobile back camera**\n\n\nSequence Diagram\n------------- \n\n![Sequence](./brief.svg)\n\n\n\nEnd\n----\n*Feel free to add an issue if you are facing any problem related to this project.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagban%2Fzbar-barcode-reader-python-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagban%2Fzbar-barcode-reader-python-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagban%2Fzbar-barcode-reader-python-javascript/lists"}