ObjectMaskFactory

class ObjectMaskFactory

Bases: DynamicFactoryMask

A factory that can be used to create Object segmentation algorithms from JSON data.

Methods

__init__

getFactory

Inherited Methods

registerTypeRaw

buildFromJson

registerType

setJsonKeyFinder

Operators

__doc__

__init__

__module__

Attributes

__annotations__

__init__(*args, **kwargs)
buildFromJson(self: visp._visp.rbt.DynamicFactoryMask, j: nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >) visp._visp.rbt.ObjectMask
static getFactory() visp._visp.rbt.ObjectMaskFactory
registerType(self: visp._visp.rbt.DynamicFactoryMask, key: str, function: Callable[[nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >], visp._visp.rbt.ObjectMask]) None
registerTypeRaw(self, key: str, function: Callable[[str], visp._visp.rbt.ObjectMask]) None
setJsonKeyFinder(self: visp._visp.rbt.DynamicFactoryMask, finderFn: Callable[[nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >], str]) None