Solved bug that have different orientation of image extract from video