Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use functions with already defined rois #4

Open
bgriffen opened this issue Feb 8, 2023 · 1 comment
Open

use functions with already defined rois #4

bgriffen opened this issue Feb 8, 2023 · 1 comment

Comments

@bgriffen
Copy link

bgriffen commented Feb 8, 2023

I have an RGB image with all the ROIs already defined but wanted to use some of those nice downstream functions - is there a way to just feed in an RBG image of ROIs and return the shape objects?

@mlnomadpy
Copy link
Owner

If I understand your question correctly, you are looking for a way to have a function that you give it an image, and it will return the roi around the object, right?

If so, you can build an object detection model where instead of protecting only the two points of a rectangle (x_top_left, x_down_right). When framing and building the dataset, you need to choose the exact number of points you want to have in your ROI.

Then when your model is ready, you can feed it the image and then create a pipeline that uses polyroi Shape.

If that is not what you meant, just let me know and I will try to work something out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants