{"id":17401495,"url":"https://github.com/samie/trollator","last_synced_at":"2025-08-03T06:31:48.694Z","repository":{"id":25606199,"uuid":"29041257","full_name":"samie/trollator","owner":"samie","description":"Simple example of using OpenCV in a Vaadin application.","archived":false,"fork":false,"pushed_at":"2015-01-28T18:09:04.000Z","size":2376,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-17T19:16:29.091Z","etag":null,"topics":["opencv","vaadin-application","vaadin7"],"latest_commit_sha":null,"homepage":null,"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/samie.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":"2015-01-10T00:11:44.000Z","updated_at":"2019-11-07T07:03:31.000Z","dependencies_parsed_at":"2022-09-08T05:12:01.670Z","dependency_job_id":null,"html_url":"https://github.com/samie/trollator","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/samie%2Ftrollator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2Ftrollator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2Ftrollator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samie%2Ftrollator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samie","download_url":"https://codeload.github.com/samie/trollator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228531128,"owners_count":17933245,"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":["opencv","vaadin-application","vaadin7"],"created_at":"2024-10-16T16:24:15.265Z","updated_at":"2024-12-06T22:10:54.274Z","avatar_url":"https://github.com/samie.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vaadin OpenCV sample application\nSimple example of using OpenCV in a Vaadin application.\n\nThis application takes a picture using web browsers camera API (available  in modern browsers) \nand runs OpenCV face recognition algorithm (using [CascadeClassifier](http://docs.opencv.org/java/org/opencv/objdetect/CascadeClassifier.html) ) for it. If a face is detected a \"troll face\" is added  on top of it.\n\n![Screenshot](/screenshot.png?raw=true \"Screenshot\")\n\nThis application was inspired by the ingenious [\"Trollator\" mobile Android application](https://play.google.com/store/apps/details?id=com.fredagapps.android.trollator).\n\nYou can find a blog post about installing [OpenCV for Java and Maven in my Dzone article](http://java.dzone.com/articles/combining-html-web).\n\n1. OpenCV Installation for local Maven repository\n---\nOpenCV is a native library with Java bindings so you need to install this to your system.\n - *libopencv_java300.so* installed in you java.library.path (\n - *opencv-300.jar* availble for application\n\nThere are good instructions how to build OpenCV with Java bindings for your own platform here: http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html\n\nOnce you have built the Java library you can install the resulting jar file to your local Maven repository using\n     mvn install:install-file -Dfile=./bin/opencv-300.jar \\\n     -DgroupId=org.opencv  -DartifactId=opencv -Dversion=3.0.0 -Dpackaging=jar\n\n\n2. Building this application\n----\nOnce OpenCV jar library is available as a local Maven dependency, you can clone and build this application simply using Git and Maven:\n\n     git clone https://github.com/samie/trollator.git\n     mvn install\n\nAnd run the application using the embedded Jetty plugin in http://localhost:8888\n\n     mvn jetty:run\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamie%2Ftrollator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamie%2Ftrollator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamie%2Ftrollator/lists"}