Small changes to Python samples

Update find_obj.py:
    Added additional error checking for the loaded files and modified the detector check to be more pythonic (is versus ==).

    Update common.py:
    Fixed a typo (contais -> contains)
This commit is contained in:
Moshe Kaplan
2013-03-04 12:25:35 -05:00
parent 9e12b7c3c2
commit facd580f28
2 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#/usr/bin/env python
'''
This module contais some common routines used by other samples.
This module contains some common routines used by other samples.
'''
import numpy as np