Comments (1)
and I have another issue and suggestion.
issue: In your RandomRotate() func in data_aug/data_aug.py:
you cliped the bounding box( if remaining box area less than a value, discard this box, this is a terrific idea!), but in the mean time you resized the img. I think these two operation should not take place in one image, since if you resize img, the bounding box could never get out of (w, h) limitation. I tried about 100 pics, all pics that have been remove box actually have quite obvious object.
suggestion:
you can add some code to deal with the situation that bounding box is np.array([]),(there is no object in the img) to make your code more robust.
anyway, thanks for ur fantastic code.
from dataaugmentationforobjectdetection.
Related Issues (20)
- Crop Video frames HOT 1
- How To Contribute HOT 1
- Please provide licence details
- About black region left in rotation/translation
- Some transforms could cut boxes or even delete them
- Typo Error: 'Tranformed`, should be Transformed
- Difference between resizing and scaling? HOT 2
- will i get bounding box for each augmentation ?
- Convert txt to pkl HOT 2
- IndexError: index 0 is out of bounds for axis 0 with size 0 HOT 2
- Random copy-paste
- Rotation scaling difference HOT 1
- Rotation and Shearing giving faulty results HOT 4
- RandomHSV function
- Will there be a new version for polygon bounding boxes ?
- Numpy divide error in RandomRotate and RandomShear HOT 1
- Error while using sequence HOT 1
- Hope to add Crop or RandomCrop operation
- Bug in clip_box function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataaugmentationforobjectdetection.