Package org.jetbrains.kotlinx.dl.onnx.inference.posedetection
Types
MultiPoseDetectionModel
Link copied to clipboard
class MultiPoseDetectionModel(internalModel: OnnxInferenceModel, modelKindDescription: String?) : MultiPoseDetectionModelBase<BufferedImage> , InferenceModel
Content copied to clipboard
MultiPoseDetectionModel is an ultra-fast and accurate model that detects 6 persons with 17 keypoints and 18 basic edges of a body for each of them.
MultiPoseDetectionModelBase
Link copied to clipboard
abstract class MultiPoseDetectionModelBase<I>(modelKindDescription: String?) : OnnxHighLevelModel<I, <ERROR CLASS>>
Content copied to clipboard
Base class for pose detection models for detecting multiple poses per image.
SinglePoseDetectionModel
Link copied to clipboard
class SinglePoseDetectionModel(internalModel: OnnxInferenceModel, modelKindDescription: String?) : SinglePoseDetectionModelBase<Bitmap> , InferenceModel, CameraXCompatibleModel
Content copied to clipboard
class SinglePoseDetectionModel(internalModel: OnnxInferenceModel, modelKindDescription: String?) : SinglePoseDetectionModelBase<BufferedImage> , InferenceModel
Content copied to clipboard
SinglePoseDetectionModel is an ultra-fast and accurate model that detects 17 keypoints and 18 basic edges of a body.
SinglePoseDetectionModelBase
Link copied to clipboard
abstract class SinglePoseDetectionModelBase<I>(modelKindDescription: String?) : OnnxHighLevelModel<I, <ERROR CLASS>>
Content copied to clipboard
Base class for pose detection models for detecting a single pose per image.
Functions
detectPose
Link copied to clipboard
fun SinglePoseDetectionModelBase<Bitmap>.detectPose(imageProxy: ImageProxy): DetectedPose
Content copied to clipboard
Detects a pose for the given imageProxy. Internal preprocessing is updated to rotate image to match target orientation. After prediction, internal preprocessing is restored to the original state.