update capture img func
update set box and capture func
fix set bug
add capture type set