auto roi detection prototype
fix small bugs in capture. improve file name