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

payload output #19

Open
dahlheim2 opened this issue Feb 22, 2022 · 6 comments
Open

payload output #19

dahlheim2 opened this issue Feb 22, 2022 · 6 comments

Comments

@dahlheim2
Copy link

what a great node, thanks!

i notice when more than one object has been detected in an image, the payload contains the information it should as described by the documentation. but if more than one object is detected, for example more than one person, only one bounding box's coordinates are described in the resultant msg.payload object. perhaps i am missing something?

@dceejay
Copy link
Owner

dceejay commented Feb 23, 2022

Errr - no - the output should be like
image

Where you can see the payload is an array of objects - each with its own bounding box.

@dceejay dceejay closed this as completed Feb 23, 2022
@dahlheim2
Copy link
Author

well, yes, thank you for the attention and response and for the careful explanation but i'm aware of that and a direct output of msg.payload from the node seems to indicate more than one person detected often in msg.classes but only one bounding box per image is output in msg.payload.

@dceejay
Copy link
Owner

dceejay commented Feb 24, 2022

please can you run the example supplied with the node and show me the debug output expanded as per above.

@dahlheim2
Copy link
Author

thanks once again, for pointing out that example, which i had not yet stumbled across, having installed the node from the node-red palette gui feature. it helped me sort out my own confusion.

@dahlheim2
Copy link
Author

i guess i just wonder if this makes sense?
image

@dceejay
Copy link
Owner

dceejay commented Feb 25, 2022

indeed that does not look correct... but maybe the confidence score for one of the persons was below the confidence limit...
(If so it should not have been counted in the classes - but may be a reason for why it's not in the payload).

@dceejay dceejay reopened this Feb 25, 2022
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