python measure processing time
from time import process_time
# Start the stopwatch / counter
t1_start = process_time()
###
#processing
###
# Stop the stopwatch / counter
t1_stop = process_time()
sec = t1_stop-t1_start
The study blog from marearts.com
Computer Vision & Machine Learning Research Laboratory