chenfei-wu / TaskMatrix

Other
34.51k stars 3.32k forks source link

How to instantiate the class 'ObjectSegmenting' to text prompt segmenting programmatically? #414

Open stevezkw1998 opened 1 year ago

stevezkw1998 commented 1 year ago

I want to develop a simple web app applying your provided solutions to allow people just simply prompt segmenting using text.

In my understanding, the most related code is the class 'ObjectSegmenting' which is in ObjectSegmenting

I am not sure whether I located in the correct point or not, I literally don't know how to instantiate this class/call related methods, since I fails to find usage example in TaskMatrix codebase.

If someone know how to use these code correctly I will appreciate it.