private
makeitem
— function
makeitem(data, args...)
Tries to assign a DataAugmentation.Item
from data
based on its type.
args
are passed to the chosen Item
constructor.
AbstractMatrix{<:Colorant}
->Image
Vector{<:Union{Nothing, SVector}}
->Keypoints