Keypoints

struct defined in module DataAugmentation


			Keypoints(points, sz)
Keypoints{N, T, M}(points, bounds)

N-dimensional keypoints represented as SVector{N, T}.

Spatial bounds are given by the polygon bounds::Vector{SVector{N, T}} or sz::NTuple{N, Int}.

Examples


			
			
			
			using
			
			 

	
			DataAugmentation
			,
			
			 
			StaticArrays
			

			
			points
			 
			=
			 
			
			[
			
			
			SVector
			(
			y
			,
			 
			x
			)
			 
			for
			
			 
			
			(
			y
			,
			 
			x
			)
			 
			in
			 
			
			zip
			(
			
			4
			:
			5
			:
			80
			,
			 
			
			10
			:
			6
			:
			90
			)
			]
			

			
			item
			 
			=
			 
			

			Keypoints
			(
			points
			,
			 
			
			(
			100
			,
			 
			100
			)
			)

			Keypoints{2, Int64, StaticArraysCore.SVector{2, Int64}}() with 14 elements

			
			
			

	
			showitems
			(
			item
			)
Methods

There are 2 methods for DataAugmentation.Keypoints: