Support both byte arrays and strings for input images
Simplify time stamp in python api