import tensorflow as tf

                    img = img / tf.constant([cfgs.PIXEL_STD])

                gtboxes_and_label_h = get_horizen_minAreaRectangle(
                    tf.reshape(gtboxes_and_label_batch[start:end], [-1, 9]))
                gtboxes_and_label_h = tf.reshape(gtboxes_and_label_h, [cfgs.BATCH_SIZE, -1, 5])

                gtboxes_and_label_q = tf.reshape(gtboxes_and_label_batch[start:end], [cfgs.BATCH_SIZE, -1, 9])

                num_objects = num_objects_batch[start:end]
                num_objects = tf.cast(tf.reshape(num_objects, [cfgs.BATCH_SIZE, -1, ]), tf.float32)

                img_h = img_h_batch[start:end]
