Replies: 3 comments 3 replies
-
As far I know you could just change the job params before execution |
Beta Was this translation helpful? Give feedback.
1 reply
-
Eventually, I was able to do the crop in software by simply copying the bytes from one vector into another and resizing using the larod APIs. It would be great to also just crop an image using the larod API for greater efficiency. Is there any example please? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thank you for that!
Why is there a crop purely in software for GRB interleaved here?
https://github.com/AxisCommunications/acap-native-sdk-examples/blob/90f695ab536f865a65446bbc4f2797d9a6aee153/object-detection/app/object_detection.c#L944
Thank you,
Iaroslav
…On Fri, 11 Apr 2025 at 14:29, Cacsjep ***@***.***> wrote:
basically crop happen here
https://github.com/AxisCommunications/acap-native-sdk-examples/blob/90f695ab536f865a65446bbc4f2797d9a6aee153/object-detection/app/object_detection.c#L490
—
Reply to this email directly, view it on GitHub
<#363 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEZUBWQO3LNCDLXNV2ZNDTD2Y5ALBAVCNFSM6AAAAAB224JFJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENZZHA4TQNA>
.
You are receiving this because you authored the thread.Message ID:
<AxisCommunications/acap-native-sdk-examples/repo-discussions/363/comments/12798984
@github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is an example with crop done with software at
https://github.com/AxisCommunications/acap-native-sdk-examples/tree/main/object-detection
However, my case is a bit different, I want to crop bounding box around a detected object and resize it to a specific model input size and for every frame the crop might be of a different size. Is there a chance of doing it with hardware support using larod library or anything else rather then doing it in software?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions