logo

sensor.snapshot().rotation_corr

2019-03-19 18:36
8
xirm

请教:sensor.snapshot().rotation_corr(x_rotation = x_rotation_counter, \

y_rotation = y_rotation_counter, \

z_rotation = z_rotation_counter, \

x_translation = X_OFFSET, \

y_translation = Y_OFFSET, \

zoom = ZOOM_AMOUNT)

中,参数x_translation和y_translation咋用呀?

I
网红小智智 星瞳科技

https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#img.rotation_corr

2019-03-19 18:57
8
xirm

就是看不懂才请教的,只说了单位不是像素,别的没说呀。如何使用呀?

I
网红小智智 星瞳科技

http://book.openmv.cc/example/04-Image-Filters/rotation-correction.html