How to increase the input pipeline resolution and output pipeline resolution(output display size)?

Hey if you have any idea how to increase the input pipeline resolution and also the display pipeline resolution please help me out.

Do i have to retrain my model to increase the input resolution i mean the image taken as input 640*640 how to increase that in raspberry pi ai kit and also how to increase the output display size it look very small and can’t be maximise ? If you know someone who can help me with that let me know

Hey @2101030400090

To increase the input pipeline resolution and adjust the output display size on your Hailo AI kit , you can consider the following steps:

  1. Input Resolution Adjustment:

    • If your model’s input is currently set to 640x640, you can either:
      • Resize in Preprocessing: Use a software library, such as OpenCV or GStreamer, to rescale the incoming video frames to match the required input resolution. This preprocessing step should occur before passing frames into the model.
      • Modify Model Input: If the model is flexible with input sizes, you could retrain it with a higher input resolution. For models from the Hailo Model Zoo, check if they support variable input sizes, as some models can adapt to different input resolutions without full retraining.
  2. Output Display Size Adjustment:

    • To increase the display size, consider using GStreamer for output scaling:
      • GStreamer Scaling: GStreamer allows you to adjust the resolution of the output pipeline for display. TAPPAS documentation includes examples showing how to rescale video output, especially useful when working on Raspberry Pi.
      • Custom On-Screen Display: Within TAPPAS, the Hailo On-Screen Display element offers customizable settings for output resolution and scaling. This can be a quick way to increase display size based on your requirements.
  3. Using HailoRT and GStreamer:

    • HailoRT integrates with GStreamer, allowing for flexible input and output resolution management. This integration is ideal for handling input scaling to match model dimensions and for output adjustments to fit your display. For specifics, the HailoRT guide provides details on configuring GStreamer plugins with Hailo models.

If you need more specific code examples or configuration steps, let me know—I’d be happy to help!

Find the SOURCE_PIPELINE in the pipeline code, you might be able to set image size from there :slight_smile: