You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application, it needs to inference a 1920x1080 image and its 180-degree rotated copy.
After read all doc of ov::preprocess, I didn't found any step like image rotation.
It's better to run this rotation before model input on GPU than use opencv cv::warpAffine on CPU.
ppp.input().preprocess()
.convert_element_type(ov::element::f32)
.scale({ 255.0, 255.0 , 255.0 })
.rotate(rotation_matrix) // like this
.warpAffine(rotation_matrix)// or like this, more affine effect
.convert_color(ov::preprocess::ColorFormat::RGB);
Issue submission checklist
The feature request or improvement must be related to OpenVINO
The text was updated successfully, but these errors were encountered:
Request Description
In my application, it needs to inference a 1920x1080 image and its 180-degree rotated copy.
After read all doc of ov::preprocess, I didn't found any step like image rotation.
It's better to run this rotation before model input on GPU than use opencv cv::warpAffine on CPU.
Feature Use Case
for now:
something better:
Issue submission checklist
The text was updated successfully, but these errors were encountered: