pose

Body pose recognition has applications in:
  • image compression when only the position of the subject is needed
  • social signaling
  • ADAS driver monitoring system (DMS)
The human body pose consists of:
  • body detection in the image
  • body segmentation from the image
  • mapping the 2D image to the 3D model
  • tracking the pose over time (movie)



Julia Flux Meatalhead.jl




## Uncomment the lines below if you have not run it previously
# import Pkg; Pkg.add("Metalhead")
# import Pkg; Pkg.add("QuartzImageIO")

using Metalhead
using Metalhead: classify
vgg = VGG19()

## local file in this lab's folder
image = load("skunk001.jpeg")
classify(vgg, image)

output:

Conda nodejs




$ conda install -c conda-forge nodejs

Julia Flux







import Pkg; Pkg.add("Flux")
using Flux

Julia CUDA





import Pkg
Pkg.add("CUDAapi")




Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions... Installed CUDAapi ─ v4.0.0 Updating `~/.julia/environments/v1.4/Project.toml` [3895d2a7] + CUDAapi v4.0.0 Updating `~/.julia/environments/v1.4/Manifest.toml` [3895d2a7] + CUDAapi v4.0.0

using CUDAapi
has_CUDA = "false"
if has_cuda()
    @info "CUDA is on"
    has_CUDA = "true"
end
println("it is ", has_CUDA, " that I have CUDA.")