Navigation

    ModalAI Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Philemon Benner
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Philemon Benner

    @Philemon Benner

    0
    Reputation
    80
    Posts
    10
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Philemon Benner Follow

    Best posts made by Philemon Benner

    This user hasn't posted anything yet.

    Latest posts made by Philemon Benner

    • RE: voxl-streamer decimator

      @Eric-Katzfey it's the image quality. Thanks for the fast answer ☺️

      posted in Ask your questions right here!
      Philemon Benner
      Philemon Benner
    • RE: voxl-streamer decimator

      also besides that would be nice if you add

      voxl-configure-pkg-manager
      

      to the docs

      posted in Ask your questions right here!
      Philemon Benner
      Philemon Benner
    • voxl-streamer decimator

      Hey,
      i'm currently pushing frames from tflite-server to voxl-streamer rtsp. My question is what the decimator parameter in /etc/modalai/voxl-streamer.conf exactly does, because when you lower it fps are higher resolution goes down, if i set a higher value fps are less but image quality gets better.

      In https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer/-/blob/master/src/main.c

      ctx->input_frame_rate /= ctx->output_frame_decimator;
      ctx->output_frame_rate = ctx->input_frame_rate;
      

      it seems to just cut down the input frame rate. But why does the resolution change if we just lower the output_frame_rate ?

      posted in Ask your questions right here!
      Philemon Benner
      Philemon Benner
    • RE: Libmodal Pipe voxl-tflite-server aI_detection helper

      Thank you for the Answer

      posted in FAQs
      Philemon Benner
      Philemon Benner
    • RE: Libmodal Pipe voxl-tflite-server aI_detection helper

      @Alex-Gardner Thanks for the answer. Is there a better way of putting the data into the ai_detection_t object?

      void detection_handler(int ch, char* data, int bytes, void* context)
      {
          ai_detection_t detection;
          memcpy(&detection, data, bytes);
      }
      
      posted in FAQs
      Philemon Benner
      Philemon Benner
    • Libmodal Pipe voxl-tflite-server aI_detection helper

      Hey,
      i'm trying to get the ai_detection_t published by voxl-flite-server, decoded in a libmodal pipe that is subscribing to the tflite_data pipe. I had a look at the examples from libmodal pipe and pipe_client_set_camera_helper_cb() from libmodal pipe.But i don't really understand how get the buffer to put it's contents into a ai_detection_t object. My attempt was the following:
      Init:

      int ch = pipe_client_get_next_available_channel();
      pipe_client_set_simple_helper_cb(ch, callback, 0);
      flag = CLIENT_FLAG_EN_SIMPLE_HELPER;
      pipe_client_open(ch,"tflite_data", "tflite_data-client", 
      CLIENT_FLAG_EN_SIMPLE_HELPER, sizeof(ai_detection_t))
      

      callback:

      void callback(__attribute__((unused)) int ch, char* data, int bytes, void* context)
      {
          ai_detection_t detection;
          int bytes_read = read(bytes,(char*)&detection,sizeof(ai_detection_t));
          spdlog::info("Bytes Read: {}",bytes_read);
      }
      

      It's working but bytes read is always -1. Unforunately i'm not really familiar with buffers and how they work.Help would be appreciated.

      posted in FAQs
      Philemon Benner
      Philemon Benner
    • RE: Voxl-Portal Core Heat Measurement weird results

      @Alex-Gardner Thank you for the fast answer

      posted in FAQs
      Philemon Benner
      Philemon Benner
    • Voxl-Portal Core Heat Measurement weird results

      Hi,
      i'm currently doing heat measurements on 2 apq8096 Voxls with voxl-portal im getting different measurements on both voxls:
      Voxl 1:
      drone1.png
      Voxl 2:
      drone2.png

      both are running the exact same Processes. Could this be code fault of voxl-portal or something different?

      posted in FAQs
      Philemon Benner
      Philemon Benner
    • voxl-tflite-server master build not working on apq8096

      @Matt Turi
      Hi,
      i've encountered an issue with the new master branch when building from source. When architecture is set to arm64 it won't install on apq8096 due to:

      Not selecting voxl-tflite-server 0.2.0 due to incompatible architecture.
      

      had to change that back to in voxl-tflite-server/pkg/control line 5:

      Architecture: all
      

      then it worked. just wanted to let you know.

      posted in Modal Pipe Architecture (MPA)
      Philemon Benner
      Philemon Benner
    • RE: Get camera Frame from libmodal pipe client

      Would something like that work?

      char* buffer[meta.size_bytes];
      memcpy(buffer, frame, meta.size_bytes);
      
      posted in Modal Pipe Architecture (MPA)
      Philemon Benner
      Philemon Benner