{"id":21272832,"url":"https://github.com/marcells/webcam-greenscreen-polymer","last_synced_at":"2026-01-01T22:04:57.871Z","repository":{"id":150318807,"uuid":"21721098","full_name":"marcells/webcam-greenscreen-polymer","owner":"marcells","description":null,"archived":false,"fork":false,"pushed_at":"2014-07-12T16:13:56.000Z","size":792,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T02:47:35.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/marcells.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":"2014-07-11T04:00:20.000Z","updated_at":"2014-10-17T17:35:13.000Z","dependencies_parsed_at":"2023-04-04T06:17:46.196Z","dependency_job_id":null,"html_url":"https://github.com/marcells/webcam-greenscreen-polymer","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/marcells%2Fwebcam-greenscreen-polymer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fwebcam-greenscreen-polymer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fwebcam-greenscreen-polymer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fwebcam-greenscreen-polymer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcells","download_url":"https://codeload.github.com/marcells/webcam-greenscreen-polymer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243728461,"owners_count":20338265,"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":[],"created_at":"2024-11-21T09:09:36.920Z","updated_at":"2026-01-01T22:04:57.784Z","avatar_url":"https://github.com/marcells.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;webcam-greenscreen\u0026gt;\n\n\u003e A Web Component using [Polymer](http://www.polymer-project.org/).\n\u003e \n\u003e Looking for a boilerplate? Check [polymer-boilerplate](https://github.com/webcomponents/polymer-boilerplate).\n\n## Demo\n\n[See a live sample here](http://marcells.github.io/webcam-greenscreen-polymer)\n\n## Usage\n\n1. Import Web Components' polyfill:\n\n    ```html\n    \u003cscript src=\"bower_components/platform/platform.js\"\u003e\u003c/script\u003e\n    ```\n\n2. Import Custom Element:\n\n    ```html\n    \u003clink rel=\"import\" href=\"bower_components/hello-world-polymer/dist/hello-world.html\"\u003e\n    ```\n\n3. Start using it!\n\n    ```html\n    \u003cwebcam-greenscreen\u003e\u003c/webcam-greenscreen\u003e\n    ```\n\n## Options\n\nAttribute           | Options         | Default             | Description\n---                 | ---             | ---                 | ---\n`width`             | *pixel*         | `640px`             | Width of the webcam video\n`height`            | *pixel*         | `480px`             | Height of the webcam video\n`image`             | *url*           | ``                  | The image, which will be displayed in the background of the video\n`chromaRed`         | *int*           | `0`                 | Red value of color, which gets transparent (0-255)\n`chromaGreen`       | *int*           | `0`                 | Green value of color, which gets transparent (0-255)\n`chromaBlue`        | *int*           | `0`                 | Blue value of color, which gets transparent (0-255)\n`chromaThreshold`   | *float*         | `0.1`               | Sensibility, when the color gets transparent (0.001-0.2)\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Marcell Spies\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcells%2Fwebcam-greenscreen-polymer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcells%2Fwebcam-greenscreen-polymer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcells%2Fwebcam-greenscreen-polymer/lists"}