# SoftBank Robotics documentation What's new in NAOqi 2.8?

# ALCloseObjectDetection API

NAOqi Vision - Overview | API

This module requires a robot with a 3D sensor.

Namespace : AL

    #include <alproxies/alcloseobjectdetectionproxy.h>

## Method list

class `ALCloseObjectDetectionProxy`

- As any module, this module inherits methods from ALModule API.
- It also inherits methods from ALExtractor API.

## Events lists

- `CloseObjectDetection/ObjectDetected()`
- `CloseObjectDetection/ObjectNotDetected()`
- `ALTracker/CloseObjectDetected()`

## ALMemory Keys list

- `CloseObjectDetection/ObjectInfo`

## Events

Event: `"CloseObjectDetection/ObjectDetected"`
callback(std::string eventName, std::string subscriberIdentifier)

  Deprecated since version 2.7.0: Do not use it anymore. Not available on Pepper V1.8.

  Raised each time an object is detected in the “close range” of the depth camera.

Event: `"CloseObjectDetection/ObjectNotDetected"`
callback(std::string eventName, std::string subscriberIdentifier)

  Deprecated since version 2.7.0: Do not use it anymore. Not available on Pepper V1.8.

  Raised, only once, when no object is detected anymore in the “close range” of the depth camera.

Event: `"ALTracker/CloseObjectDetected"`
callback(std::string eventName, std::string subscriberIdentifier)

  Deprecated since version 2.7.0: Do not use it anymore. Not available on Pepper V1.8.

  Raised each time an object is detected in the “close range” of the depth camera, with a structure that can be used with function `ALTrackerProxy::trackEvent` of the module ALTracker.

## ALMemory Keys

AL::ALValue `CloseObjectDetection/ObjectInfo`

  Deprecated since version 2.7.0: Do not use it anymore. Not available on Pepper V1.8.

  Contains the information about the latest detected close object. Please refer to alcloseobjectdetection for details.

Glossary Site map Index Support Contact Legal Notices