# Detecting how many lanes-parks-sidewalks and junction

**URL:** <https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172>\
**Category:** Imagery, data, and integrations\
**Created:** [July 14, 2023, 12:33pm UTC](https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172 "2023-07-14T12:33:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmh](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mmh](https://forum.mapillary.com/u/mmh)\
**Post date:** [July 14, 2023, 12:33pm UTC](https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172/1 "2023-07-14T12:33:47Z")

</div>

I need a python code using the mapillary api that can give such examples as string format, how many lanes are there between two randomly determined points with a distance of 50 meters between them, or if there are sidewalks, how many intersections are there, and if there are parks, how many parks are there. I couldn’t design it. I would be happy if anyone can guide me, thanks in advance.

---

<div class="post-metadata">

**Author:** ![kartmann](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kartmann](https://forum.mapillary.com/u/kartmann)\
**Post date:** [July 15, 2023, 10:31am UTC](https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172/2 "2023-07-15T10:31:38Z")

</div>

What is your background in computer software engineering? What you are asking for is quite complex problem to solve.

---

<div class="post-metadata">

**Author:** ![mmh](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mmh](https://forum.mapillary.com/u/mmh)\
**Post date:** [July 17, 2023, 7:27am UTC](https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172/3 "2023-07-17T07:27:14Z")

</div>

I am kinda new at computer software engineering. Actually i am trying to understand api and as i mentioned i need to string output of for ex: how many lanes are there between two randomly determined points with a distance of 50 meters between them how can i do it?

---

<div class="post-metadata">

**Author:** ![kartmann](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@kartmann](https://forum.mapillary.com/u/kartmann)\
**Post date:** [July 20, 2023, 10:30am UTC](https://forum.mapillary.com/t/detecting-how-many-lanes-parks-sidewalks-and-junction/7172/4 "2023-07-20T10:30:00Z")

</div>

I know that you can get information about lane markings. Maybe you can use that as a proxy for how many lanes the road segment have. I have not used the object recognition api myself.
