Skip to content

SimonDanisch/LibFaceDetection.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibFaceDetection

Build Status Coverage

Wrapper for https://github.com/ShiqiYu/libfacedetection

Usage:

using GLMakie, LibFaceDetection, FileIO
path = download("https://thumbs.dreamstime.com/z/many-faces-2754451.jpg", "faces.jpg")
img = load(path)
faces = detect_faces(img)
scene = image(rotr90(img), scale_plot=false, show_axis=false)
for face in faces
    linesegments!(face.boundingbox)
    scatter!(face.points, markersize=20, color=tuple.([:blue, :blue, :green, :red, :red], 0.4))
end
display(scene)

image