Skip to main content

Hi everyone,
I’m new to working with the Axelera system. I see that there is a CenterCrop style preprocessing function, but in my use case I need more control. Specifically, I’d like to crop an image (for RTSP streams or training data) by specifying the x-offset, y-offset, width, and height of the region of interest.

Is there a built-in preprocessing function in the Axelera SDK/YAML configs for this kind of custom crop? Or is the recommended way to handle this via GStreamer (e.g., videocrop/videobox) before passing frames to axinferencenet?

Any help would be greatly appreciated.

Thank you! 🙏

Currently the recommended way is to use gstreamer elements as you describe. In the next release the roicrop plugin has been extended to provide the functionality you request.


Hi John,

Thanks for the quick reply. It's helpful to know that GStreamer is the recommended approach for now and that a new plugin is coming in the next release.

Thank you so much.

 


What’s the project you’re working on ​@dany ?


I’m working on an AI-based drowning-detection system for swimming pools.


I’m working on an AI-based drowning-detection system for swimming pools.

Ah, very cool! Keep us posted on that one!


I’m working on an AI-based drowning-detection system for swimming pools.

Ah, very cool! Keep us posted on that one!

Sure!