Answers.Body: <p>You should use both classes together. Let's say you use the method you proposed. Then they will be contradicting each other as one teaches the network to recognize people, not objects and the other teaches the network to recognizes objects not person. There is no need for seperation of the two classes, unless you are making two seperate classifier. Hope I can help you.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T13:47:57.530Z
Answers.Text: If we already have a very good model for detecting the objects, couldn't adding bounding boxes to the people within the same images potentially lower the performance for the initial object detection model? Maybe that could be a reason to separate the classes?
Answers.UserDisplayName: NebulousReveal
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T13:55:24.560Z
Answers.Text: It should not affect the accuracy for a lot. If performance don't really matter you can use two models so performance won't change for the object detection model. However it will be two times as slow as there is two models to run through. If this is a real time task, you should add another class instead.
Answers.UserDisplayName: Clement
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T13:58:02.113Z
Answers.Text: Would adding annotations of people from a totally different data set (e.g. a public data set) to the existing data set help in person detection? Or is it ideal to have the people come from the same images in which there are also objects?
Answers.UserDisplayName: NebulousReveal
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T14:06:45.763Z
Answers.Text: If you use two seperate models, it shouldn't matter too much. The model may confuse some object as person though if no other object is in the data. If the original data have an enough sample size maybe you should use that as your task is still to achieve a good testing accuracy on the private dataset. For the same model of course use the original data. Hope I can help you @PrimeNumber
Answers.UserDisplayName: Clement
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T15:55:41.033Z
Answers.Text: If for multiple images, the orientation of the object changes, but the person remains relatively still, wouldn't this lead to overfitting?
Answers.UserDisplayName: NebulousReveal
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-15T13:26:45.213Z
Answers.LastActivityDate: 2019-11-15T13:26:45.213Z
Answers.UserDisplayName: Clement
Body: <p>Suppose we want to detect whether an object is one of the following classes: <span class="math-container">$\text{Object}_1, \text{Object}_2, \text{Object}_3$</span> and <span class="math-container">$\text{Person}$</span>. Should the annotated images only contain bounding boxes for either a person or an object? In other words, suppose an image has both <span class="math-container">$\text{Object}_1$</span> and <span class="math-container">$\text{Person}$</span>. Should you create a copy of this image where the first version only has a bounding box on the object and the second copy only has a bounding box on the person? </p>
  
Tags: <computer-vision><datasets><object-detection>
Title: If an image contains two distinct objects, should I create a copy of this image with distinct labels for each copy?
UserDisplayName: NebulousReveal
ThreadText: # If an image contains two distinct objects, should I create a copy of this image with distinct labels for each copy?
  
  (Asked by: username_0 on 2019-11-15)
  
  Suppose we want to detect whether an object is one of the following classes: $\text{Object}\_1, \text{Object}\_2, \text{Object}\_3$ and $\text{Person}$. Should the annotated images only contain bounding boxes for either a person or an object? In other words, suppose an image has both $\text{Object}\_1$ and $\text{Person}$. Should you create a copy of this image where the first version only has a bounding box on the object and the second copy only has a bounding box on the person?
  
  **Tags:** computer-vision, datasets, object-detection
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-11-15. Score: 2 | Accepted answer
  
  You should use both classes together. Let's say you use the method you proposed. Then they will be contradicting each other as one teaches the network to recognize people, not objects and the other teaches the network to recognizes objects not person. There is no need for seperation of the two classes, unless you are making two seperate classifier. Hope I can help you.
  
  > **Comments:**
  > **username_0**: If we already have a very good model for detecting the objects, couldn't adding bounding boxes to the people within the same images potentially lower the performance for the initial object detection model? Maybe that could be a reason to separate the classes?  
  > **username_1**: It should not affect the accuracy for a lot. If performance don't really matter you can use two models so performance won't change for the object detection model. However it will be two times as slow as there is two models to run through. If this is a real time task, you should add another class instead.  
  > **username_0**: Would adding annotations of people from a totally different data set (e.g. a public data set) to the existing data set help in person detection? Or is it ideal to have the people come from the same images in which there are also objects?  
  > **username_1**: If you use two seperate models, it shouldn't matter too much. The model may confuse some object as person though if no other object is in the data. If the original data have an enough sample size maybe you should use that as your task is still to achieve a good testing accuracy on the private dataset. For the same model of course use the original data. Hope I can help you @PrimeNumber  
  > **username_0**: If for multiple images, the orientation of the object changes, but the person remains relatively still, wouldn't this lead to overfitting?  
  
  ---
  
  