mapillary.controller.detection
mapillary.controllers.detection#
This module implements the detection based business logic functionalities of the Mapillary Python SDK.
For more information, please check out https://www.mapillary.com/developer/api-documentation/
- Copyright: (c) 2021 Facebook
- License: MIT LICENSE
mapillary.controller.detection.get_image_detections_controller(image_id: Union[str, int], fields: list = [])#
Get image detections with given (image) key
Parameters
- image_id (str) โ The image id
* **fields** (*list*) โ The fields possible for the detection endpoint. Please see[https://www.mapillary.com/developer/api-documentation](https://www.mapillary.com/developer/api-documentation) for more informationReturns
GeoJSON
Return type
dict
mapillary.controller.detection.get_map_feature_detections_controller(map_feature_id: Union[str, int], fields: list = [])#
Get image detections with given (map feature) key
Parameters
- map_feature_id (str) โ The map feature id
* **fields** (*list*) โ The fields possible for the detection endpoint. Please see[https://www.mapillary.com/developer/api-documentation](https://www.mapillary.com/developer/api-documentation) for more informationReturns
GeoJSON
Return type
dict