hair

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package hair include hair segmentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hair

type Hair struct {
	// contains filtered or unexported fields
}

Hair represents Hair segmentor

func NewHair

func NewHair() *Hair

NewHair returns a new Hair

func (*Hair) Destroy

func (h *Hair) Destroy()

Destroy destroy C.IHair

func (*Hair) LoadModel

func (h *Hair) LoadModel(modelPath string) error

LoadModel load detecter model

func (*Hair) Matting

func (h *Hair) Matting(img *common.Image, out *common.Image) error

Matting returns hair matting image

func (*Hair) Pointer

func (h *Hair) Pointer() unsafe.Pointer

Pointer implement Estimator interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL