Code cleanup and re-org
Change-Id: Ifed47cfd5113be790eb57d92d4585b1427b56464
diff --git a/person_detection/app.py b/person_detection/app.py
index 1386d63..87a2cd9 100644
--- a/person_detection/app.py
+++ b/person_detection/app.py
@@ -8,15 +8,8 @@
from flask import Flask, render_template, Response
from argparse import ArgumentParser, SUPPRESS
-# import camera driver
-if os.environ.get('CAMERA'):
- Camera = import_module('camera_' + os.environ['CAMERA']).Camera
-else:
- # from camera import Camera
- from person_detection import Camera
+from person_detection import Camera
-# Raspberry Pi camera module (requires picamera package)
-# from camera_pi import Camera
app = Flask(__name__)