{"id":13848587,"url":"https://github.com/Subito-it/Masaccio","last_synced_at":"2025-07-12T13:31:51.941Z","repository":{"id":23397585,"uuid":"26759579","full_name":"Subito-it/Masaccio","owner":"Subito-it","description":"An Android library providing a useful widget class which automatically detects the presence of faces in the source image and crop it accordingly so to achieve the best visual result.","archived":false,"fork":false,"pushed_at":"2015-01-10T09:44:36.000Z","size":6447,"stargazers_count":521,"open_issues_count":2,"forks_count":82,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-07-01T10:53:33.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Subito-it.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-11-17T14:14:20.000Z","updated_at":"2024-04-04T03:09:38.000Z","dependencies_parsed_at":"2022-08-21T23:50:20.916Z","dependency_job_id":null,"html_url":"https://github.com/Subito-it/Masaccio","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/Subito-it%2FMasaccio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subito-it%2FMasaccio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subito-it%2FMasaccio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subito-it%2FMasaccio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Subito-it","download_url":"https://codeload.github.com/Subito-it/Masaccio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949729,"owners_count":15661670,"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-08-04T19:00:53.129Z","updated_at":"2024-08-04T19:02:55.981Z","avatar_url":"https://github.com/Subito-it.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"#Masaccio\n\nThis library provides a useful widget class which automatically detects the presence of faces in the source image and crop it accordingly so to achieve the best visual result.\n\n![Masaccio](https://github.com/Subito-it/Masaccio/blob/master/masaccio_demo.gif)\n\n##Download [![Maven Central](https://maven-badges.herokuapp.com/maven-central/it.subito/masaccio-library/badge.svg)](https://maven-badges.herokuapp.com/maven-central/it.subito/masaccio-library)\nGrab the latest version via Gradle:\n\n```groovy\ncompile 'it.subito:masaccio-library:1.0.0'\n```\n\n##Usage\n\nThe typical usage is to declare the widget directly into the layout XML file. For example:\n\n```xml\n\u003cit.subito.masaccio.MasaccioImageView\n    android:id=\"@+id/masaccio_view\"\n    android:layout_width=\"300dp\"\n    android:layout_height=\"200dp\"\n    masaccio:center_face=\"true\"\n    masaccio:activate_matrix=\"ifNoFace\"\n    masaccio:translate_y=\"0.25\"\n    android:scaleType=\"centerCrop\"/\u003e\n```\n\nSince the detection API provided by the Android SDK is synchronous, in order to avoid performance degradation in the UI thread, the library provides an helper object which enables the face detection processing to be performed in the loading thread.\n\nAn example of integration with the [UIL][1] library is provided in the **app** module.\n\nThe widget supports all the attributes of a [ImageView][2]\n\nCustomisation\n-------------\n\nPlease see the [Customisation page][3] for more information on how to change the behaviour of the View.\n\n#License\n\n    Copyright (C) 2014 Subito.it S.r.l (www.subito.it)\n\n\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at\n\t\n\t     http://www.apache.org/licenses/LICENSE-2.0\n\t\n\tUnless required by applicable law or agreed to in writing, software\n\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\tSee the License for the specific language governing permissions and\n\tlimitations under the License.\n\n[1]:https://github.com/nostra13/Android-Universal-Image-Loader\n[2]:http://developer.android.com/reference/android/widget/ImageView.html\n[3]:https://github.com/Subito-it/Masaccio/wiki/Customisation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSubito-it%2FMasaccio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSubito-it%2FMasaccio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSubito-it%2FMasaccio/lists"}