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

could you offer the code of getting the" B = {Bsub, Bobj }"? #6

Closed
JohnSnow-QY opened this issue Dec 16, 2023 · 4 comments
Closed

could you offer the code of getting the" B = {Bsub, Bobj }"? #6

JohnSnow-QY opened this issue Dec 16, 2023 · 4 comments

Comments

@JohnSnow-QY
Copy link

No description provided.

@yyvhang
Copy link
Owner

yyvhang commented Dec 17, 2023

No description provided.

Please refer to the functions "get_crop"、"random_crop_with_points"、"get_resize_box" in dataset_PIAD.py

@JohnSnow-QY
Copy link
Author

sorry ,I can't express clearly , what I want is how generate the 'Json file" that include the "Box" parameters.
It includ B={Bsub,Bobj}, how can I generate it ?
thank you for response

@yyvhang
Copy link
Owner

yyvhang commented Dec 17, 2023

sorry ,I can't express clearly , what I want is how generate the 'Json file" that include the "Box" parameters. It includ B={Bsub,Bobj}, how can I generate it ? thank you for response

Please use the "Labelme" software to annotate the box and just store the annotated box in JSON format, here is an example to save JSON file, you could refer to it.

@JohnSnow-QY
Copy link
Author

thanks for response , very helpful

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