[sample/detect-from-file] Display total time

While here, read the source image directly in grayscale