Skip to content

AeroCheck -- TAMUHack21 American Airlines Challenge ✈️

Notifications You must be signed in to change notification settings

gcpetri/AeroCheck

Repository files navigation

TAMUHack_2021

AeroCheck -- American Airlines Challenge

AeroCheck

Helping both sides of the isle...

Inspiration

Due to COVID panic and restrictions, airline sales are down, flight attendant stress is high - even for their own safety, and the public seems to need an incentive to fly. That's where AeroCheck comes in...

Introduction

Due to COVID panic and restrictions, airline sales are down as people are isolating. Flight attendants are worried for their own health and how they can monitor passengers safety up to standards. The public seems to need an incentive to fly. Introducing AeroCheck
Our software utilizes machine learning algorithms to implement facial recognition and mask detection. When a face is detected with without a mask on the aircraft, our software will quickly notify flight attendants, while incentivizing customers who wear their mask throughout the flight with travel points.

Watch are video to get a deeper understanding of this revolutionary airline system
https://youtu.be/oR53ZkGLXKs

Check out our AeroCheck website and devpost to get the full experience

Code Samples

AeroCheck developed with Flutter in Andrio Studio

...
// ############ create a flutter MaterialApp
class MyApp extends StatefulWidget {
  @override
  MyAppState createState() => _MyAppState();
}
class _MyAppState extends State {
  // ############## amplify
  bool _amplifyConfigured = false;
  @override
  initState() {
    super.initState();
    configureAmplify();
}
...

Mask Recognition developed with Keras/Tensorflow

...
baseModel = MobileNetV2(weights="imagenet", include_top=False,
    input_tensor=Input(shape=(224, 224, 3)))
# head model is made on top of the base
headModel = baseModel.output
headModel = AveragePooling2D(pool_size=(7, 7))(headModel)
headModel = Flatten(name="flatten")(headModel)
headModel = Dense(128, activation="relu")(headModel)
headModel = Dropout(0.5)(headModel)
headModel = Dense(2, activation="softmax")(headModel)
model = Model(inputs=baseModel.input, outputs=headModel)
...

Installation

Setup AeroCheck in Android Studio download:

_Note:_https://docs.amplify.aws/lib/datastore/getting-started/q/platform/flutter#install-amplify-libraries follow this for pubspec.yaml the video is slightly outdated

  • main.dart
  • pubspec.yaml

Run Mask Recognition Model in Python

  • Ensure you have a Python virtual environment at your disposal (eg. Jupyter Notebook)
  • Run the train.py script with the data set in the appropriate directory

Download Executables
We are still in the detailed development stage of these systems ... no executables are currently available.
Look out for updates AeroCheck app deployment and the MaskRecognition model hosting on AWS