Closed heping0307 closed 3 years ago
you can use opencv to generate the mask according to the txt file. The pixels in the bounding boxes are set to be 0, the others are 1.
heping0307 @.***> 于2021年10月12日周二 下午3:29写道:
thank you for your dataset!I found that there is "all_gts" in the dataset, but there is no "Mask" folder. How can I convert .txt files in "all_gts" into .jpg images in “mask”.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lcy0604/EraseNet/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7RD3TIAHWA5F4KGIVQHELUGPPXPANCNFSM5FZ3S4KA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
thank you for your dataset!I found that there is "all_gts" in the dataset, but there is no "Mask" folder. How can I convert .txt files in "all_gts" into .jpg images in “mask”.