This repository contains a suite of R packages which perform image algorithms currently not available in other R packages like magick, imager or EBImage.
These algorithms are put into different packages because of license differences. Currently the following R packages are available:
| Package | Functionality | License | Details |
|---|---|---|---|
| image.CornerDetectionF9 | FAST-9 corner detection for images | BSD-2 | Details |
| image.CornerDetectionHarris | Harris corner detection for images | BSD-2 | Details |
| image.LineSegmentDetector | Line Segment Detector (LSD) for images | AGPL-3 | Details |
| image.ContourDetector | Unsupervised Smooth Contour Line Detection for images | AGPL-3 | Details |
| image.CannyEdges | Canny Edge Detector for Images | GPL-3 | Details |
| image.Otsu | Otsu's Image Segmentation Method | MIT | Details |
| image.dlib | Speeded up robust features (SURF) and histogram of oriented gradients (HOG) features | AGPL-3 | Details |
| image.darknet | Image classification using darknet with deep learning models AlexNet, Darknet, VGG-16, Extraction (GoogleNet) and Darknet19. As well object detection using the state-of-the art YOLO detection system | MIT | Details |
| image.OpenPano | Image Stitching | see file LICENSE | Details |
| image.DenoiseNLMeans | Non-local means denoising | see file LICENSE | Details |
More packages and extensions are under development.
A presentation given at the useR-2017 conference is available in file presentation-user2017.pdf
Install all packages
install.packages("devtools")
install.packages("dlib")
devtools::install_github("bnosac/image", subdir = "image.CornerDetectionF9", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.CornerDetectionHarris", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.LineSegmentDetector", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.ContourDetector", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.CannyEdges", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.Otsu", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.dlib", build_vignettes = TRUE)
devtools::install_github("bnosac/image", subdir = "image.darknet", build_vignettes = TRUE)
Have a look at some vignettes
vignette("image_corner_detector_f9", package = "image.CornerDetectionF9")
vignette("image_line_segment_detector", package = "image.LineSegmentDetector")
vignette("image_contour_detector", package = "image.ContourDetector")
vignette("image_canny_edges", package = "image.CannyEdges")
- Alternatively, you can see if the binary packages for your operating system are on the BNOSAC drat repo at https://github.com/bnosac/drat
- CI builds:
Need support in image recognition? Contact BNOSAC: http://www.bnosac.be
