# MobileNetDetectionNetwork

MobileNet detection network node is very similar to
[NeuralNetwork](https://docs.luxonis.com/software/depthai-components/nodes/neural_network.md) (in fact it extends it). The only
difference is that this node is specifically for the MobileNet NN and it decodes the result of the NN on device. This means that
`out` of this node is not a byte array but a
[ImgDetections](https://docs.luxonis.com/software/depthai-components/messages/img_detections.md) that can easily be used in your
code.

## How to place it

#### Python

```python

pipeline = dai.Pipeline()
mobilenetDet = pipeline.create(dai.node.MobileNetDetectionNetwork)
```

#### C++

```cpp

dai::Pipeline pipeline;
auto mobilenetDet = pipeline.create<dai::node::MobileNetDetectionNetwork>();
```

## Inputs and Outputs

## Usage

#### Python

```python

pipeline = dai.Pipeline()
mobilenetDet = pipeline.create(dai.node.MobileNetDetectionNetwork)

mobilenetDet.setConfidenceThreshold(0.5)
mobilenetDet.setBlobPath(nnBlobPath)
mobilenetDet.setNumInferenceThreads(2)
mobilenetDet.input.setBlocking(False)
```

#### C++

```cpp

dai::Pipeline pipeline;
auto mobilenetDet = pipeline.create<dai::node::MobileNetDetectionNetwork>();

mobilenetDet->setConfidenceThreshold(0.5f);
mobilenetDet->setBlobPath(nnBlobPath);
mobilenetDet->setNumInferenceThreads(2);
mobilenetDet->input.setBlocking(false);
```

## Examples of functionality

 * [RGB & MobilenetSSD](https://docs.luxonis.com/software/depthai/examples/rgb_mobilenet.md)
 * [Mono & MobilenetSSD](https://docs.luxonis.com/software/depthai/examples/mono_depth_mobilenetssd.md)
 * [Mono & MobilenetSSD & Depth](https://docs.luxonis.com/software/depthai/examples/mono_depth_mobilenetssd.md)

## Reference

### depthai.node.MobileNetDetectionNetwork(depthai.node.DetectionNetwork)

Kind: Class

MobileNetDetectionNetwork node. Parses MobileNet results

### Need assistance?

Head over to [Discussion Forum](https://discuss.luxonis.com/) for technical support or any other questions you might have.
