Public Member Functions | Public Attributes | Private Member Functions | List of all members
node_scripts.fcn_object_segmentation.FCNObjectSegmentation Class Reference
Inheritance diagram for node_scripts.fcn_object_segmentation.FCNObjectSegmentation:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def segment (self, bgr)
 
def subscribe (self)
 
def unsubscribe (self)
 

Public Attributes

 backend
 
 bg_label
 
 gpu
 
 mean_bgr
 
 model
 
 proba_threshold
 
 pub
 
 pub_proba
 
 subs
 
 target_names
 

Private Member Functions

def _cb (self, img_msg)
 
def _cb_with_mask (self, img_msg, mask_msg)
 
def _load_chainer_model (self)
 
def _load_model (self)
 
def _load_torch_model (self)
 
def _segment_chainer_backend (self, bgr)
 
def _segment_torch_backend (self, bgr)
 

Detailed Description

Definition at line 52 of file fcn_object_segmentation.py.

Constructor & Destructor Documentation

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation.__init__ (   self)

Definition at line 54 of file fcn_object_segmentation.py.

Member Function Documentation

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._cb (   self,
  img_msg 
)
private

Definition at line 174 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._cb_with_mask (   self,
  img_msg,
  mask_msg 
)
private

Definition at line 157 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._load_chainer_model (   self)
private

Definition at line 78 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._load_model (   self)
private

Definition at line 67 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._load_torch_model (   self)
private

Definition at line 108 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._segment_chainer_backend (   self,
  bgr 
)
private

Definition at line 192 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation._segment_torch_backend (   self,
  bgr 
)
private

Definition at line 217 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation.segment (   self,
  bgr 
)

Definition at line 185 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation.subscribe (   self)

Definition at line 129 of file fcn_object_segmentation.py.

def node_scripts.fcn_object_segmentation.FCNObjectSegmentation.unsubscribe (   self)

Definition at line 153 of file fcn_object_segmentation.py.

Member Data Documentation

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.backend

Definition at line 56 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.bg_label

Definition at line 59 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.gpu

Definition at line 57 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.mean_bgr

Definition at line 61 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.model

Definition at line 88 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.proba_threshold

Definition at line 60 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.pub

Definition at line 63 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.pub_proba

Definition at line 64 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.subs

Definition at line 137 of file fcn_object_segmentation.py.

node_scripts.fcn_object_segmentation.FCNObjectSegmentation.target_names

Definition at line 58 of file fcn_object_segmentation.py.


The documentation for this class was generated from the following file:


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Mon May 3 2021 03:03:28