Giter Site home page Giter Site logo

Comments (4)

kuaashish avatar kuaashish commented on May 9, 2024 1

Hi @MatoFD,

You can use both mp_image and mp_image2. When providing the rgb_image to segmentation_result = segmenter.segment(rgb_image), make sure you pass either mp_image or mp_image2. OpenCV images must be converted to a MediaPipe image first for compatibility since they are not directly supported. As for accuracy-related queries, we currently don't have metrics available for measuring segmentation accuracy.

Among the mp_image and mp_image_2, you can use both but generally we would recommend to feed RGB image to mp.Image() since it has a better segmentation among similar color gradients, however we don't have concrete data to back this up.

Thank you!!

from mediapipe.

MatoFD avatar MatoFD commented on May 9, 2024

Thanks! It's good to have a recommended solution and it's working well for now

from mediapipe.

kuaashish avatar kuaashish commented on May 9, 2024

Hi @MatoFD,

Thank you for confirming, Can we now proceed to mark this matter as resolved and close the status?

from mediapipe.

google-ml-butler avatar google-ml-butler commented on May 9, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from mediapipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.