Add license headers.

Change-Id: I6fb2e7e94a164059e21de2078954ab34504d4e2f
diff --git a/edgetpuvision/apps.py b/edgetpuvision/apps.py
index e84df8a..bef82e7 100644
--- a/edgetpuvision/apps.py
+++ b/edgetpuvision/apps.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import argparse
 import logging
 import signal
diff --git a/edgetpuvision/camera.py b/edgetpuvision/camera.py
index ded5e46..5363bd7 100644
--- a/edgetpuvision/camera.py
+++ b/edgetpuvision/camera.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import os
 import threading
 
diff --git a/edgetpuvision/classify.py b/edgetpuvision/classify.py
index 6cbcf8b..dd7bcc5 100644
--- a/edgetpuvision/classify.py
+++ b/edgetpuvision/classify.py
@@ -1,11 +1,25 @@
-"""A demo which runs object classification on camera frames."""
-
-# export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+# Copyright 2019 Google LLC
 #
-# python3 -m edgetpuvision.classify \
-#   --model ${TEST_DATA}/mobilenet_v2_1.0_224_inat_bird_quant.tflite \
-#   --labels ${TEST_DATA}/inat_bird_labels.txt
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
+"""A demo which runs object classification on camera frames.
+
+export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+
+python3 -m edgetpuvision.classify \
+  --model ${TEST_DATA}/mobilenet_v2_1.0_224_inat_bird_quant.tflite \
+  --labels ${TEST_DATA}/inat_bird_labels.txt
+"""
 import argparse
 import collections
 import itertools
diff --git a/edgetpuvision/classify_server.py b/edgetpuvision/classify_server.py
index c505fa0..aabf07e 100644
--- a/edgetpuvision/classify_server.py
+++ b/edgetpuvision/classify_server.py
@@ -1,10 +1,25 @@
-"""A demo which runs object classification and streams video to the browser."""
-
-# export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+# Copyright 2019 Google LLC
 #
-# python3 -m edgetpuvision.classify_server \
-#   --model ${TEST_DATA}/mobilenet_v2_1.0_224_inat_bird_quant.tflite \
-#   --labels ${TEST_DATA}/inat_bird_labels.txt
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A demo which runs object classification and streams video to the browser.
+
+export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+
+python3 -m edgetpuvision.classify_server \
+  --model ${TEST_DATA}/mobilenet_v2_1.0_224_inat_bird_quant.tflite \
+  --labels ${TEST_DATA}/inat_bird_labels.txt
+"""
 
 from .apps import run_server
 from .classify import add_render_gen_args, render_gen
diff --git a/edgetpuvision/detect.py b/edgetpuvision/detect.py
index dbaf005..7e38be7 100644
--- a/edgetpuvision/detect.py
+++ b/edgetpuvision/detect.py
@@ -1,15 +1,30 @@
-"""A demo which runs object detection on camera frames."""
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
-# export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
-#
-# Run face detection model:
-# python3 -m edgetpuvision.detect \
-#   --model ${TEST_DATA}/mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite
-#
-# Run coco model:
-# python3 -m edgetpuvision.detect \
-#   --model ${TEST_DATA}/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite \
-#   --labels ${TEST_DATA}/coco_labels.txt
+"""A demo which runs object detection on camera frames.
+
+export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+
+Run face detection model:
+python3 -m edgetpuvision.detect \
+  --model ${TEST_DATA}/mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite
+
+Run coco model:
+python3 -m edgetpuvision.detect \
+  --model ${TEST_DATA}/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite \
+  --labels ${TEST_DATA}/coco_labels.txt
+"""
 
 import argparse
 import collections
diff --git a/edgetpuvision/detect_server.py b/edgetpuvision/detect_server.py
index 1babc37..cd52c3a 100644
--- a/edgetpuvision/detect_server.py
+++ b/edgetpuvision/detect_server.py
@@ -1,15 +1,30 @@
-"""A demo which runs object detection and streams video to the browser."""
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
-# export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
-#
-# Run face detection model:
-# python3 -m edgetpuvision.detect_server \
-#   --model ${TEST_DATA}/mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite
-#
-# Run coco model:
-# python3 -m edgetpuvision.detect_server \
-#   --model ${TEST_DATA}/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite \
-#   --labels ${TEST_DATA}/coco_labels.txt
+"""A demo which runs object detection and streams video to the browser.
+
+export TEST_DATA=/usr/lib/python3/dist-packages/edgetpu/test_data
+
+Run face detection model:
+python3 -m edgetpuvision.detect_server \
+  --model ${TEST_DATA}/mobilenet_ssd_v2_face_quant_postprocess_edgetpu.tflite
+
+Run coco model:
+python3 -m edgetpuvision.detect_server \
+  --model ${TEST_DATA}/mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite \
+  --labels ${TEST_DATA}/coco_labels.txt
+"""
 
 from .apps import run_server
 from .detect import add_render_gen_args, render_gen
diff --git a/edgetpuvision/gst.py b/edgetpuvision/gst.py
index a1fa177..ffbedc2 100644
--- a/edgetpuvision/gst.py
+++ b/edgetpuvision/gst.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import collections
 import itertools
 import re
diff --git a/edgetpuvision/gst_native.py b/edgetpuvision/gst_native.py
index acce316..d761dd4 100644
--- a/edgetpuvision/gst_native.py
+++ b/edgetpuvision/gst_native.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import cairo
 import contextlib
 import ctypes
diff --git a/edgetpuvision/gstreamer.py b/edgetpuvision/gstreamer.py
index 11d2560..96c0d56 100644
--- a/edgetpuvision/gstreamer.py
+++ b/edgetpuvision/gstreamer.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import collections
 import contextlib
 import enum
diff --git a/edgetpuvision/pipelines.py b/edgetpuvision/pipelines.py
index 739d400..b985c83 100644
--- a/edgetpuvision/pipelines.py
+++ b/edgetpuvision/pipelines.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 from .gst import *
 
 def decoded_file_src(filename):
diff --git a/edgetpuvision/svg.py b/edgetpuvision/svg.py
index 84f712a..ae891da 100644
--- a/edgetpuvision/svg.py
+++ b/edgetpuvision/svg.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 from collections import Sequence
 
 def _clean(k):
diff --git a/edgetpuvision/utils.py b/edgetpuvision/utils.py
index c0e2e49..df0892d 100644
--- a/edgetpuvision/utils.py
+++ b/edgetpuvision/utils.py
@@ -1,3 +1,17 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import collections
 import os
 import re