# ImageCorners.jl

**URL:** <https://discourse.julialang.org/t/imagecorners-jl/98437>\
**Category:** Package Announcements\
**Created:** [May 7, 2023, 12:48pm UTC](https://discourse.julialang.org/t/imagecorners-jl/98437 "2023-05-07T12:48:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashwani\_Rathee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ashwani_rathee/32/49551_2.png) [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Post date:** [May 7, 2023, 12:48pm UTC](https://discourse.julialang.org/t/imagecorners-jl/98437/1 "2023-05-07T12:48:31Z")

</div>

**ImageCorners.jl** provides corner detection algorithms for images. There are 4 different algorithms that are present currently in the repository mentioned below:

- Harris
- Shi-Tomasi
- Kitchen-Rosenfeld
- Fast-Corners

Corners can be found to pixel and subpixel precision based on these algorithms using API of imcorner and imcorner\_subpixel respectively.

### Example:

```julia-auto
julia> using ImageCorners, TestImages

julia> img = testimage("mandrill");

# corner detection using harris method
julia> corners = imcorner(img; method = harris);

# threshold can be specified for the thresolding the corner pixels
julia> corners = imcorner(img, 0.001; method = harris);

julia> corners = imcorner(img, Percentile(98.5); method = harris);

# for corner detection to subpixel precision imgcorner_subpixel can be used
julia> corners = imcorner_subpixel(img; method = harris);

```

Repository Link: [GitHub - JuliaImages/ImageCorners.jl: Corner Related Algorithms ⛶](https://github.com/JuliaImages/ImageCorners.jl)  
More tutorials can be found here: [Demos · JuliaImages](https://juliaimages.org/latest/examples/)

There are several other algorithms we want to implement like Moravec, SUSAN, Forstner to reach feature parity with other solutions. We welcome new contributors to help improve the package.
