modify the annotate.py, change function tagAImageType