Equalis-App - Equalis App Built with Flutter and Flask

Overview

Equalis

Arjun Sarao, Bram Ogus, Connor Wilson, Rene Gonzalez Pina

💡 Inspiration

We want to create a system that would help eliminate voter fraud and allow citizens to quickly and efficiently participate in not only their electoral system but their legislative one too. Using the blockchain would help because all voters would be signed with a UUID consisting of the hash of their health card number, passport number, and a special QR Code sent to the voter's address via mail.

📱 What it does

Users sign up by scanning their passport, health card, and a special QR Code sent to them by us. They can then participate in governmental elections as well as in passing legislation. Equalis uses the blockchain for storing election information. All votes are signed with a hash of a voter's health card number, passport number, and a special QR Code sent to the voter's address via mail. The home screen contains upcoming laws as well as a countdown to the next election. On the laws page, users are able to scroll through a list of all laws both passed and not and are presented with an AI-generated summary, followed by important dates, and then the full law itself. The user would then be prompted to either vote for or against the law. When there is not an election going on, the elections page would simply be displaying a countdown, when the election is live, voters can select their preferred candidates.

📃 Full Feature List

  • Identity verification using OCR and face recognition
  • AI-generated legislation summary
  • Election vote counts stored on Blockchain via proof of works
  • Interactive graphs for vote breakdown for laws and elections

🛠 How we built it

  • Adobe XD: We designed the mockups in Adobe XD to figure out the UI/UX and the general flow of the app
  • Flutter: We built the frontend in Flutter using XYZ packages
  • Python: Python was used for our backend/API as well as for our ML components
    • transformers: We used the HuggingFace package, specifically Google's Pegasus model to summarize the legislative documents
    • face_recognition: This Python package was used to measure the similarity between a user's passport photo and another photo
    • firebase_admin: Firebase SDK for Python
    • web3.py: Used to interact with the Solidity smart contract on the blockchain
    • py-solc-x: For compiling the Solidity code
    • pytesseract: We used pytesseract for the passport verification by reading MRZ's (Machine Readable Zones)
    • flask: Used to host our JSON API on the web
  • Firebase: We also made our backend with Firebase to hold the user data (name, UUID, privilege, votes sent, ect.)
  • Solidity: Solidity was used to create the smart contract on the blockchain

🛑 Challenges we ran into

  • Smart Contract development
  • Making sure the OCR packages were able to run on repl.it
  • Having Python interact with the blockchain
  • Figuring out what information to store in a database vs. the blockchain

Accomplishments that we're proud of

  • Implementing a full smart contract with no previous knowledge of Solidity
  • Getting it all working, lol
  • Connecting our app to Rinkeby TestNet

📖 What we learned

  • Solidity
  • flask
  • web3.py, py-solc-x
  • firebase_admin
  • pytesseract, face-recognition, transformers

🤔 What's next for Equalis

  • Refine the user authentication process
  • Create more robust tooling for creating elections
  • Add more forms of verification in case people don't have their passports handy
  • Deploy the smart contract to MainNet or on-premise Private Network
  • Refine the law summarization

Tech Stack

techstack

🖼 Gallery

💻 Lines of Code

  • 389 lines of Python Code
  • 213 lines of Solidity Code
  • 1689 lines of Flutter

🙇‍♂️ Acknowledgements

We would like to thank DeltaHacks for the opportunity to create and develop our idea.

You might also like...

Face Mask Detection mobile application built with Flutter and TensorFlow lite in order to detect face masks using images and live camera.

Face Mask Detection mobile application built with Flutter and TensorFlow lite in order to detect face masks using images and live camera.

Face Mask Detector App Face Mask Detection mobile application built with Flutter and TensorFlow lite in order to detect face masks using images and li

Aug 15, 2022

A Dart EPUB parser built from the ground up, and designed to support a variety of use cases and custom

A Dart EPUB parser built from the ground up, and designed to support a variety of use cases and custom implementations such as on-device caching and serving content from a server.

Nov 3, 2022

Flutter-for-Wordpress-App - Cross platform wordpress news app built with Flutter and WP REST API

Flutter-for-Wordpress-App - Cross platform wordpress news app built with Flutter and WP REST API

Flutter for Wordpress A flutter app for a wordpress websites with clean and elegant design. This app is available in free and pro version. You can cho

Dec 23, 2022

Familicious-App - A social media app built with Flutter and Firebase

Famlicious App A social media app built with Flutter and Firebase This project i

Dec 6, 2022

Workout Tracker App built using Flutter and Dart. The app is available on PlayStore

Workout Tracker App built using Flutter and Dart. The app is available on PlayStore

Jun 21, 2022

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications. We have redesigned all the usual components to make it look like our Now UI Design, minimalistic and easy to use.

Oct 9, 2022

A weather app built to learn how to use Canvas and Animation in Flutter.

A weather app built to learn how to use Canvas and Animation in Flutter.

Weather Quick Disclaimer I removed my private OpenWeather API key from the repo, if you want to get the weather forecast use your own in the openweath

Dec 21, 2022

A chat app built on Flutter with firebase authentication and image sharing capability.

A chat app built on Flutter with firebase authentication and image sharing capability.

Flutter Chat App A one-to-one chat app built on Flutter with firebase authentication and image sharing capability. For help getting started with Flutt

Dec 27, 2022

Weather App Built with Flutter and OpenWeatherMap API

Weather App Built with Flutter and OpenWeatherMap API

Welcome to Flutter Weather 👋 Weather App Built with Flutter and OpenWeatherMap API 🚀 See Screenshots See ScreenShots Download APK Getting Started To

Dec 26, 2022
Owner
Westdale Software Dev Club
Welcome to the Westdale S.S. Software Dev Club! We are a group of like-minded students who all enjoy software development!
Westdale Software Dev Club
Github Trending app built with Flutter+Redux+Built(Immutable Data)

Github Trending app built with Flutter+Redux+Built(Immutable Data)

huangyanxiong 9 May 13, 2020
IoTF app is a smart farming app for IoT and AI-powered tomato plant disease detection. It is built with Flutter and uses Firebase as its backend.

Internet of Tomato Farming IoTF app is a smart farming app for IoT and AI-powered tomato plant disease detection. It is built with Flutter and uses Fi

ILYAS IMZAGNAN 4 Dec 9, 2022
A cryptocurrency tracker and portfolio app, built with Flutter and Dart

I'm currently rewriting the application from scratch to remove a lot of the ugly code, conform better to modern flutter best practices with regards to

Dominique Rwema Bagirishya 30 Oct 6, 2022
A Note app built with flutter and integrate with Firebase for user authentication and backend database.

Note App Note app (Both frontend and backend) created with Flutter and Firebase. Complete UI Contains Sign in & Sign up Home Screen Setting screen Acc

Hafiz Mounim Naeem 6 Dec 4, 2022
Ouday 25 Dec 15, 2022
Computer science courses, books and exams in your pocket. Built with Flutter and Free! ❤️

Computeiro - Free courses, books and exams Computer science exams in your pocket. Built with Flutter. Free Courses • Contributing ❤️ • License This pr

Felipe Augusto 31 Nov 27, 2022
Invoices, Expenses and Tasks built with Laravel and Flutter

Invoice Ninja Hosted | Self-Hosted We're on Slack, join us at slack.invoiceninja.com or if you like StackOverflow Just make sure to add the invoice-ni

Invoice Ninja 6.8k Dec 20, 2022
A customizable carousel slider for Flutter. Supports infinite sliding, custom indicators, and custom animations with many pre-built indicators and animations.

Flutter Carousel Slider A customizable carousel slider for flutter Screenshots Installing dependencies: flutter_carousel_slider: ^1.0.8 Demo Demo a

Udara Wanasinghe 23 Nov 6, 2022
A Marvel Heroes and Comics guide, built with Flutter and MarvelAPI to help people get to know more about this amazing universe

?? Marvel Guide ?? ?? Project A Marvel Heroes and Comics guide, built with Flutter and MarvelAPI to help people get to know more about this amazing un

Gustavo T. Chinalia 3 Aug 30, 2022