Skip to main content

MeghModel

This module implements pre- and post-processing for the Megh models.

Supported Hardware (hw):

  • cpu
  • igpu

Supported Models (model):

  • person-detection-nano
  • person-detection-nano-plus
  • person-detection-small
  • person-detection-medium
  • person-detection-large
  • coco-nano
  • coco-nano-plus
  • coco-small
  • coco-medium
  • coco-large
  • carton-detection

Examples:

REST API:

WIP

Configuration File:

```yaml
source:
- address: videos/sd_london_station_sd.mp4
type: file
elements:
- name: infer
args:
model: person-detection-small
hw: cpu
score_threshold: 0.3
iou_threshold: 0.3
```

MeghModel Objects

class MeghModel(Detector)

MeghModel pre-processing and post-processing class.

Attributes:

  • models list - List of supported models.