Forum Discussion

ClausThor's avatar
ClausThor
Copper Contributor
Apr 29, 2024

Real world object detection

Hi All,

 

I hope this is the right place to ask this question. If it is not, please point me to the right location. Thanks.

 

I have been asked to develop a HoloLens 2 healthcare application that should work as guide for patients on how to handle different devices for blood sugar measurements, insulin pumps etc.
But I need some help/information for how to do this the best way.

The HoloLens 2 application must be able to recognize the device (blood sugar measurement device) on the table, so that it can start telling what to do with it.

 

Are you able to help me with this?

 

Thank you in advance 

  • msvrworld's avatar
    msvrworld
    Copper Contributor

    Wow, this sounds awesome! It would be awesome to see your progress! Were you able to get the support you needed on building this?

    • ClausThor's avatar
      ClausThor
      Copper Contributor

      Hello msvrworld,

      Unfortunately I haven't really got the information I need to perform my task.

      But I will keeps searching the internet and hope to find what I need to get started,

      /Claus

      • TelecomR43's avatar
        TelecomR43
        Copper Contributor

        Hi ClausThor  ,
        To make the camera detect the real world objects, if you're using MRTK, after configuring it in the scene, click on mrtk in the scene, then, go to the inspector and go to Spatial Awarness, add a spatial awarness profile, add a Spatial Mesh Observer, in the buttom of the observer settings page, you will find Display Settings, switch it to Occlusion, Now you can place objects on tables !

  • alli786's avatar
    alli786
    Copper Contributor

    Real-world object detection involves using algorithms and models to identify and classify objects in images or video streams. It’s widely used in various applications, such as autonomous driving, surveillance, and augmented reality. Here’s a brief overview of how it typically works:

    ### Key Components

    1. **Data Collection**: Gather a large dataset of images or video footage containing the objects you want to detect. This dataset should be annotated with labels indicating the location and type of each object.

    2. **Preprocessing**: Prepare the data for training by resizing images, normalizing pixel values, and possibly augmenting the data to improve model robustness.

    3. **Model Selection**: Choose a suitable object detection model. Popular models include:
    - **YOLO (You Only Look Once)**: Known for real-time detection with high speed and accuracy.
    - **SSD (Single Shot MultiBox Detector)**: Efficient for detecting multiple objects in a single pass.
    - **Faster R-CNN**: Provides high accuracy but may be slower compared to YOLO and SSD.

    4. **Training**: Train the selected model on your dataset. This involves feeding the model annotated images so it can learn to identify and locate objects.

    5. **Evaluation**: Assess the model’s performance using metrics like precision, recall, and mean average precision (mAP). Fine-tune the model as needed based on its performance.

    6. **Deployment**: Integrate the trained model into your application or system. This might involve real-time processing for applications like autonomous vehicles or batch processing for tasks like image categorization.

    7. **Testing and Refinement**: Continuously test the deployed model in real-world scenarios and refine it based on feedback and new data.

    ### Tools and Frameworks

    - **TensorFlow Object Detection API**: A powerful library for training and deploying object detection models.
    - **OpenCV**: Provides tools for real-time image processing and can be used with pre-trained models.
    - **Detectron2**: Facebook’s library for object detection, which offers state-of-the-art performance.

    ### Considerations

    - **Accuracy vs. Speed**: There’s often a trade-off between detection accuracy and processing speed. Choose a model that fits your application’s needs.
    - **Edge Cases**: Ensure your model is robust to variations in lighting, angles, and occlusions.
    - **Real-Time Requirements**: For applications requiring real-time performance, optimize your model and system architecture accordingly.

    If you have specific questions about object detection techniques, models, or implementations, feel free to ask!

    • ClausThor's avatar
      ClausThor
      Copper Contributor

      Hello alli786,

       

      Thank you very much for your very thorough description.

      I will need information on how implement object detection and what tools to use.

      I normally work with C# in Visual Studio and I believe I will need to learn Unity.

      What do you recommend  ?

  • AbdullahS1005's avatar
    AbdullahS1005
    Copper Contributor
    To develop a HoloLens 2 healthcare application that recognizes medical devices like blood sugar measurement devices, you'll want to leverage Mixed Reality Toolkit (MRTK) for HoloLens 2, along with Azure Object Anchors or Azure Cognitive Services for object recognition.

    Here’s a high-level approach:

    Object Recognition: Use Azure Object Anchors to detect and recognize devices by scanning their 3D model or images.
    Mixed Reality Toolkit (MRTK): Integrate this toolkit to build user interactions, spatial mapping, and UI.
    Voice or Text Guides: Use Azure Cognitive Services (Speech) to provide audio instructions or UI prompts once the device is recognized.
    UX/UI Design: Focus on creating an intuitive interface for patients, with clear steps and visual aids.
    You may also need expertise in Unity for HoloLens app development.

    Let me know if you need more technical details or guidance!
  • Thank you very much for your very thorough description.
    I normally work in VS with C# and I believe I will need to learn Unity.
    I will need information on how implement object detection and what tools to use.
  • emma199494's avatar
    emma199494
    Copper Contributor

    ClausThor 

    For your HoloLens 2 project, you can use Microsoft's Mixed Reality Toolkit (MRTK) for object recognition and spatial mapping to identify devices like blood sugar monitors. You might also consider integrating machine learning models for better detection. By the way, if you’re into exploring apps, check out https://baixarfreecineapk.com for Freecine APK, which offers great streaming options!

    • ClausThor's avatar
      ClausThor
      Copper Contributor

      Hello emma199494 

       

      Thank you for your message.

      I am aware that I can use MRTK, but I need guidance on how to do it.

       

       

  • I run the <a href="website">Spotify Premium APK última versión</a>, and lately, I’ve been facing some issues with it. The site has been running slower than usual, and I’ve also noticed a drop in traffic. I’m looking for some advice or tips to improve the site’s speed and get the traffic back on track.
  • To improve your HoloLens 2 project, use Microsoft’s Mixed Reality Toolkit (MRTK) for recognizing objects and mapping spaces to find devices like blood sugar monitors. You can also think about using machine learning models for better detection. If you want to check out apps, visit https://freecinee.com.br/ for great streaming options!

Resources