added new Camera class for opencv video processing (currently does not work with Pi-Camera)
changed logging a bit
This commit is contained in:
parent
b87e830ac3
commit
de9b671f29
5 changed files with 244 additions and 10 deletions
|
@ -0,0 +1,7 @@
|
|||
import logging
|
||||
import os
|
||||
|
||||
if os.getenv("DEBUG", "0") != "0":
|
||||
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)
|
||||
else:
|
||||
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO)
|
Reference in a new issue