-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring targetRotation setter api #454
Milestone
Comments
ermolenkodev
added a commit
to ermolenkodev/KotlinDL
that referenced
this issue
Sep 26, 2022
* Add CameraXCompatibleModelType interface. * Models from the android model hub can accept ImageProxy directly. * Remove CameraXCompatibleModel interface as obsolete. * Add utils to convert ImageProxy YUV_420_888 to Bitmap * Add ConvertToBitmap preprocessing operation and update preprocessing DSL.
ermolenkodev
added a commit
to ermolenkodev/KotlinDL
that referenced
this issue
Sep 29, 2022
…input (Kotlin#454) * Extend the ModelHub's models with an API that accepts ImageProxy as an input. * Now user not required to set targetRotation property by hand The rotation operation is quite expensive, so it's beneficial to make a rotation after resizing, although it makes API less intuitive.
ermolenkodev
added a commit
to ermolenkodev/KotlinDL
that referenced
this issue
Sep 29, 2022
…input (Kotlin#454) * Extend the ModelHub's models with an API that accepts ImageProxy as an input. * Now user not required to set targetRotation property by hand The rotation operation is quite expensive, so it's beneficial to make a rotation after resizing, although it makes API less intuitive.
ermolenkodev
added a commit
to ermolenkodev/KotlinDL
that referenced
this issue
Sep 29, 2022
…input (Kotlin#454) * Extend the ModelHub's models with an API that accepts ImageProxy as an input. * Now user not required to set targetRotation property by hand The rotation operation is quite expensive, so it's beneficial to make a rotation after resizing, although it makes API less intuitive.
ermolenkodev
added a commit
to ermolenkodev/KotlinDL
that referenced
this issue
Sep 29, 2022
* Introduce doWithRotation extension function to reduce code duplication * Move extension functions to the base classes (e.g. SinglePoseDetectionModelBase instead SinglePoseDetectionModel) Co-authored-by: Julia Beliaeva <[email protected]>
ermolenkodev
added a commit
that referenced
this issue
Sep 29, 2022
* More convenient API for inference of ModelHub models with ImageProxy input (#454) * Extend the ModelHub's models with an API that accepts ImageProxy as an input. * Now user not required to set targetRotation property by hand The rotation operation is quite expensive, so it's beneficial to make a rotation after resizing, although it makes API less intuitive. Fix wrong preprocessor for Mobilenetv1 in ModelHub * Introduced in PR #459 * Refactoring of extension functions with ImageProxy input (#454) * Introduce doWithRotation extension function to reduce code duplication * Move extension functions to the base classes (e.g. SinglePoseDetectionModelBase instead SinglePoseDetectionModel) Co-authored-by: Julia Beliaeva <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: