{"id":15628407,"url":"https://github.com/spite/android-lens-blur-depth-extractor","last_synced_at":"2025-05-07T17:43:39.960Z","repository":{"id":16144276,"uuid":"18889819","full_name":"spite/android-lens-blur-depth-extractor","owner":"spite","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-28T11:18:58.000Z","size":668,"stargazers_count":294,"open_issues_count":4,"forks_count":33,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-02-19T02:12:26.250Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-17T18:53:47.000Z","updated_at":"2025-02-02T21:35:25.000Z","dependencies_parsed_at":"2022-09-06T22:32:11.985Z","dependency_job_id":null,"html_url":"https://github.com/spite/android-lens-blur-depth-extractor","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/spite%2Fandroid-lens-blur-depth-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spite%2Fandroid-lens-blur-depth-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spite%2Fandroid-lens-blur-depth-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spite%2Fandroid-lens-blur-depth-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spite","download_url":"https://codeload.github.com/spite/android-lens-blur-depth-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240783138,"owners_count":19856780,"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-10-03T10:22:28.774Z","updated_at":"2025-02-26T03:15:53.727Z","avatar_url":"https://github.com/spite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"LensBlurDepthExtractor.js\n=========================\n\nThis library parses images created with the new Android camera app mode Lens Blur and extracts the depth map.\n\nExtractor tool is here: https://clicktorelease.com/tools/lens-blur-depth-extractor\n\nDemo is here: https://www.clicktorelease.com/code/depth-player/\n\n![Snapshot](snapshot.jpg)\n\nHow to use\n----------\n\nInclude the library:\n\u003cpre\u003e\u003ccode\u003e\u0026lt;script src=\"LensBlurDepthExtractor.js\" \u0026gt;\u0026lt;/script\u0026gt;\u003c/code\u003e\u003c/pre\u003e\n\nInstantiate an object:\n\u003cpre\u003e\u003ccode\u003evar d = new DepthReader();\u003c/code\u003e\u003c/pre\u003e\n\nLoad from a file:\n\u003cpre\u003e\u003ccode\u003ed.loadFile( \n    'table.jpg', \n    function( src ) { /* src is base64 png source */ }, \n    function( error ) { /* error is a string */ } \n);\u003c/code\u003e\u003c/pre\u003e\n\nOr, load directly from an array buffer\n\u003cpre\u003e\u003ccode\u003ed.parseFile( \n    arrayBuffer, \n    function( src ) { /* src is base64 png source */ }, \n    function( error ) { /* error is a string */ } \n);\u003c/code\u003e\u003c/pre\u003e\n\nLicense\n-------\n\nMIT licensed\n\nCopyright (C) 2016 Jaume Sanchez Elias http://twitter.com/thespite\n\nTable picture by https://twitter.com/blurspline\n\nhttp://www.clicktorelease.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspite%2Fandroid-lens-blur-depth-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspite%2Fandroid-lens-blur-depth-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspite%2Fandroid-lens-blur-depth-extractor/lists"}