{"id":27106484,"url":"https://github.com/jcbritobr/opencv-java","last_synced_at":"2026-04-15T22:36:14.121Z","repository":{"id":54559375,"uuid":"337743300","full_name":"jcbritobr/opencv-java","owner":"jcbritobr","description":"Lots of opencv examples from books ported to java code","archived":false,"fork":false,"pushed_at":"2021-08-17T18:43:37.000Z","size":159,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T11:09:10.851Z","etag":null,"topics":["computer-vision","image-analysis","image-processing","java","opencv"],"latest_commit_sha":null,"homepage":"","language":"Java","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/jcbritobr.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":"2021-02-10T14:08:22.000Z","updated_at":"2025-01-14T07:13:15.000Z","dependencies_parsed_at":"2022-08-13T19:40:27.995Z","dependency_job_id":null,"html_url":"https://github.com/jcbritobr/opencv-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcbritobr/opencv-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fopencv-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fopencv-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fopencv-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fopencv-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbritobr","download_url":"https://codeload.github.com/jcbritobr/opencv-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fopencv-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["computer-vision","image-analysis","image-processing","java","opencv"],"created_at":"2025-04-06T19:56:04.600Z","updated_at":"2026-04-15T22:36:14.104Z","avatar_url":"https://github.com/jcbritobr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"images/opencvjava.jpeg\" style=\"zoom:100%;\" /\u003e\nThis repository is a collection of [OpenCv](https://opencv.org/) examples from c++ books, ported to Java language. Some examples has some changes to better adapt Java language.\n\n### Installation\n\n1 - Download OpenCv release from [here](https://opencv.org/releases/).\n\n2 - Put all this libraries in os path: opencv_videoio_ffmpeg450_64.dll, opencv_java450.dll, opencv_world450.dll, opencv_videoio_msmf450_64.dll.\n\n3 - Clone this project, and in the root folder, add java opencv-450.jar library to libs folder(if not exists, just create one).\n\n**The same process is valid for linux** but instead of *.dll, the shared libraries will have *.so extensions. **Unfortunately, opencv 4.51 is not available on maven repositories**. It cant be downloaded by gradle.\n\n### List of examples\n\n* [**Simple**](src/main/java/org/gardona/training/Simple.java) - This example shows how to setup [OpenCv](https://opencv.org/) in a Java program and create a matrix.\n* [**Gui Use Cases**](src/main/java/org/gardona/training/GuiUseCase.java) - This example shows how to set up a gui to use with opencv.\n* [**Converting images**](src/main/java/org/gardona/training/ConvertingImages.java) - This example shows how to convert image formats.\n* [**Drawing on images**](src/main/java/org/gardona/training/DrawingOnImages.java) - Shows how to paint one image above other image.\n* [**Flipping images**](src/main/java/org/gardona/training/FlipingImages.java) - Shows how to flip an image in horizontal and vertical directions.\n* [**Load an image in gray scale** ](src/main/java/org/gardona/training/LoadGrayImage.java)- Shows how to convert an image in gray scale just when it is loading.\n* [**Pixel by pixel process**](src/main/java/org/gardona/training/MatrixPixelProcess.java) - Shows how to process an matrix pixel by pixel.\n* [**Matrix use cases**](src/main/java/org/gardona/training/MatrixUseCases.java) - Shows simple matrix use cases.\n* [**Regions of interests**](src/main/java/org/gardona/training/RegionsOfInterest.java) - Shows how to process only certain portions of a matrix.\n* [**Sobel**](src/main/java/org/gardona/training/Sobel.java) - Shows how to implement a sobel filter.\n* [**Camera capture**](src/main/java/org/gardona/training/CameraCapture.java) - Shows how to capture from camera devices and apply filters in captured matrix.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbritobr%2Fopencv-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbritobr%2Fopencv-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbritobr%2Fopencv-java/lists"}