The HotPopRobot family team project: S.N.A.C.K (Smart Street Navigation Using Artificial Intelligence for City Kids)  was among the Top 5 TD Elevate Hackathon Winners.  Artash (Grade 7) took lead in analysing the open data from City of Toronto and writing machine learning algorithm, Arushi (Grade 4) was responsible for planning the physical demo, coding the Arduino and wiring the relays and lights, and Vikas (dad) was responsible for creating the presentation, and submitting the project in time.

elevateproject
Artash and Arushi with their S.N.A.C.K project at TD Elevate Hackathon

The TD Elevate Hackathon was held at the MaRS Discovery District from September 21-23, 2018 as a part of the week-long Elevate Festival. It was the biggest hackathon ever organized in Toronto with over 600 participants and almost 80 teams submitting their solutions.

close poc
The S.N.A.C.K project on using Artificial Intelligence to find the safest path for kids to walk to school – among the top 5 teams (out of 80) 

The theme of the Hackathon was “Smart City” and teams (between 4-8 people) had to submit solutions on any of the 3 challenges: Smart Economy, Smart Vibrant Living, or Smart Connected Communities. Over 80 teams submitted their solutions at the end of the hackathon for the first phase of judging. They had 5 minutes to present their solution to a group of judges in a science-fair style set-up. Expo judges then judged the top 5 solutions to move to the final stage. We ended up among these 5 top solutions!

elevate present
Artash and Arushi explaining their project to the judges in the final round

We took upon the connected communities challenge. The goal of our S.N.A.C.K project (Smart Street Navigation Using Artificial Intelligence for City Kids) was to find the safest path for kids to walk to their school and other places. This was based on our felt needs as we try to walk and bicycle to most places in downtown Toronto. As we are all learning Machine Learning on our own as a family learning activity, we created a project that built upon Artificial Intelligence and Arduino with our goal of making streets safer for children.

making2
The Making of SNACK Project: AI Algorithm, Python, Arduino, and team efforts

The S.N.A.C.K project uses data from 5 databases from Open Data Toronto and Vision Zero Toronto document. It includes a database of city schools and parks, bicycling lanes, enhanced pedestrian safety traffic signals, school crossing guards, and pedestrian fatalities.

pen and paper
All our ideas start by using pen and paper

The artificial intelligence algorithm uses a feed-forward neural network created in python to predict the risk index of all intersections in Toronto. The neural network’s 5 input nodes would receive data about the crossing and the output node would provide the risk index. We trained the model based on crossings that we had manually assigned risk indexes so that the model could make predictions similar to the ones a human would make.

data flow
S.N.A.C.K Data Flow Frame

S.N.A.C.K generates a risk index associated with each intersection in Toronto. For the purpose of the hackathon, we limited our project to 20 intersections. The index value could be negative as well as positive. The higher the value, the higher the risk associated with that intersection and vice versa. For instance, streets which have bicycling lanes or pass through school parks, or intersections which have enhanced pedestrian safety crossing, School Crossing Guards, and lower prior pedestrian fatalities rate, would score a lower risk index. Whereas streets which have limited pedestrian-friendly features would score a higher index.

elevate - index
Risk Index generated for Toronto Intersections using Artificial Intelligence

Based on this data, it was possible to generate the safest path a kid could take to go from school to home. Unlike Google Maps, this path would not provide the fastest walking route but the safest walking route. This would provide greater comfort for parents and children that they are making an informed decision in selecting a particular walking path.

board-e1538355800285.jpg
Physical Demo of our S.N.A.C.K project showing Toronto street intersections with Risk Index to find the safest walking path for kids

As the project is focused on kids, we wanted to build upon a walking path which would be based on landmarks that are familiar to kids. For instance pizza shop, parks, libraries, swimming pools or other places they frequently visit. Furthermore, any new path would be iteratively built upon the path the kid has previously walked on, rather than a totally new path. This will ensure that the kid can confidently take the safest route to newer places.

explain3
Project Demo – working perfectly and ready for the judging!

Interestingly as more kids using the  S.N.A.C.K project, it would create a database of paths most frequently used by children and in turn, will influence the risk index associated with the intersections. It will also provide feedback to city planners so that they can increase safety features or deploy school crossing guards on streets most frequently used by children.

explain1
Giving demo of our project to visitors during the Elevate Festival and Hackathon

We had an amazing time conceiving, designing, building up, test and demoing this project. We worked very hard over the 2 days as we had to build everything from the start including procuring data, building up the algorithm, testing it, creating the physical version of the project demo using Arduino, lights, and relays, and preparing for the presentation.

tema
The HotPopRobot Team!

We thank the organisers of the Elevate Festival, HackWorks (the organisers of the hackathon), the City of Toronto (for providing the data), the volunteers, judges and hundreds of visitors who were interested to learn more about our project. We are continuing to work on this project and would welcome guidance and support to improve it so that we can make Toronto Streets safe for the kids.

Download our presentation which includes the algorithm and street risk index values we generated.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s