openvision

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: 0 Imported by: 0

README

Openvision Golang binding

vision detection/estimation/transformation based on deep learning

Go Reference GitHub go.mod Go version of a Go module GoReportCard GitHub license GitHub release

Prerequest

  • ncnn Install
  • openmp
  • vulkan(optional)

Install

git clone github.com/bububa/openvision.git
cd build
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DNCNN_VULKAN=ON # -DNCNN_VULKAN is optional
make -j 4
# modify go.mod replace github.com/bububa/openvision/go path

Build tags

  • vulkan build with vulkan

Features & models

Documentation

Overview

Package openvision libopenvision golang binding

Index

Constants

This section is empty.

Variables

View Source
var (
	LoadModelError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "load model failed",
		}
	}
	DetectFaceError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "detect face failed",
		}
	}
	FaceLandmarkError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "face landmark failed",
		}
	}
	RecognizeFaceError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "recognize face failed",
		}
	}
	AlignFaceError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "align face failed",
		}
	}
	TrackFaceError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "track face failed",
		}
	}
	DetectHeadPoseError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "detect head pose failed",
		}
	}
	HairMattingError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "hair matting failed",
		}
	}
	DetectHandError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "detect hand failed",
		}
	}
	DetectPoseError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "detect pose failed",
		}
	}
	TrackerError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "object tracker error",
		}
	}
	CounterError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "object counter error",
		}
	}
	RealsrError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "super-resolution process error",
		}
	}
	TrainingError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "training process failed",
		}
	}
	ClassifyError = func(code int) Error {
		return Error{
			Code:    code,
			Message: "classify process failed",
		}
	}
)

Functions

This section is empty.

Types

type Error

type Error struct {
	// Code .
	Code int
	// Message .
	Message string
}

Error customed error

func (Error) Error

func (e Error) Error() string

Error represents error interface

Directories

Path Synopsis
Package classifier implement different classifiers
Package classifier implement different classifiers
svm
Package svm implement svm classifier
Package svm implement svm classifier
Package common .
Package common .
Package counter include object counter
Package counter include object counter
examples
eye
Package face include face detecter/landmarker/reconginzier
Package face include face detecter/landmarker/reconginzier
aligner
Package aligner defines face Aligner
Package aligner defines face Aligner
detecter
Package detecter face detecter
Package detecter face detecter
eye
Package eye include eye status detector
Package eye include eye status detector
hair
Package hair include hair segmentation
Package hair include hair segmentation
hopenet
Package hopenet include head pose estimation
Package hopenet include head pose estimation
landmarker
Package landmarker include landmarker instances
Package landmarker include landmarker instances
recognizer
Package recognizer include feature extractor
Package recognizer include feature extractor
tracker
Package tracker defines face Tracker
Package tracker defines face Tracker
Package hand include hand detection and hand pose estimation
Package hand include hand detection and hand pose estimation
detecter
Package detecter pose detecter
Package detecter pose detecter
pose
Package pose hand pose estimator
Package pose hand pose estimator
pose3d
Package pose hand 3d pose estimator
Package pose hand 3d pose estimator
Package pose include pose estimation
Package pose include pose estimation
estimator
Package estimator pose estimator
Package estimator pose estimator
segmentor
Package segmentor pose estimator
Package segmentor pose estimator
Package styletransfer include style transfer
Package styletransfer include style transfer
Package tracker include object tracker
Package tracker include object tracker

Jump to

Keyboard shortcuts

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