CrimeMap: Optimising Patrol Routes for Safer Streets
About the Project
Theme: Safeguarding Public Security - Strengthening Domestic Security
Inspiration
One of our teammates served as a policeman during National Service (NS) and observed that while Singapore provides a list of places to patrol, the routes are manually planned by the officers. This manual planning may not always yield the most optimised routes. Recognizing this gap in the patrolling system, we saw an opportunity to enhance the efficiency and effectiveness of police patrols. By optimising patrol routes, we can contribute to reducing crime rates and improving public safety, while also making the lives of policemen easier by providing them with pre-planned, optimised routes. The potential community impact inspired us to tackle this meaningful cause.
What it does
CrimeMap optimises resource allocation for law enforcement agencies by analysing crime hotspot data and generating efficient patrol routes. This ensures that higher-risk areas are prioritised, emergency response times are reduced, and overall public safety is enhanced.
How we built it
- Brainstorming: We began by conceptualizing how our website should function, aiming to create a tool that police officers can use before going on patrol. The goal was to allow officers to upload the latest crime dataset, select their station, and receive an optimised patrol route that can be integrated with the Google GPS system in police vehicles.
- Data Collection and Cleaning: We searched for online datasets with crime and location data to identify hotspots. After finding suitable data, we cleaned and prepared it for use in our software.
- Route Optimization: Using JavaScript, we implemented route optimization algorithms, drawing on our knowledge from school, such as Dijkstra's algorithm.
- Web Development: We used HTML and the Google Maps API to build a user-friendly website that displays optimised patrol routes.
Challenges we ran into
- Data Availability: Finding a dataset with relevant information, such as the location of crimes, was challenging. We resolved this by generating a synthetic dataset to mimic real data.
- Technical Skills: Not all team members were familiar with JavaScript and HTML, which slowed our progress. However, we supported each other, sharing knowledge and solving problems together to keep the project on track.
Accomplishments that we're proud of
We successfully developed a functional prototype of CrimeMap, overcoming challenges related to data availability and technical skills. The project has the potential to significantly impact law enforcement efficiency and public safety.
What we learned
- Teamwork: This project marked our first collaboration, bringing together members from different schools. We learned to work cohesively as a team, leveraging each other's strengths.
- Technical Skills: We familiarised ourselves with both data processing and front-end development. This included learning more about crime hotspots in Singapore and understanding the police system that keeps the city safe.
- Critical Thinking: We honed our ability to brainstorm, discuss, and refine ideas, ensuring we developed a high-quality solution.
What's next for CrimeMap
We plan to enhance CrimeMap by integrating real-time data updates and improving route optimisation algorithms. We also aim to collaborate with law enforcement agencies to implement our solution on a larger scale, such as expanding it to Police Coast Guards.