Answers.Body: <p>There are several ways you can do this. </p>
  
  <p>One is to input both images in input, so it can be a 2 input system or an input with 6 channels.</p>
  
  <p>As you suggested in 1st point, you can make 2 networks, connect them at the end and add another layer for final classification or use outputs from both and train another classifier (like Gradient bosting). You can look up ensemble techniques and ensemble of neural networks for more.</p>
  
  <p>For dual classification and naive approach, you will again have a problem in case there are some insects that can solely be identified from features at a specific angle, if so you can then discard other angles (e.g. ignore moth face if moth back is the distinguishing feature)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-20T09:43:27.677Z
Answers.LastActivityDate: 2020-03-21T14:32:02.233Z
Answers.LastEditDate: 2020-03-21T14:32:02.233Z
Answers.UserDisplayName: SajanGohil
Body: <p>I'm relatively new to image classification. Currently, I am trying to classify insect images, using a convolutional neural network (CNN).
  When I ask a human expert to identify an insect, I usually provide 2 photos: back and face. It seems that sometimes one feature stands out and allows identification with high certainty ("spots on the back - definitely a ladybug"), while other times you need to cross-reference both angles ("grey back could mean a few things, but after cross-referencing with the eyes - it's a moth"). </p>
  
  <p>How is it customary to implement this? Naively I was considering:</p>
  
  <ol>
  <li><p>Two separate networks, one for backs and one for faces? If so, what formula is best for weighing in their outputs?</p></li>
  <li><p>Single network, but separate dual classifications - e.g. "moth face", "moth back", "ladybug face", "ladybug back"? </p></li>
  <li><p>A single network, feed everything naively (e.g. moths from different angles, all with the same classification "moth") and rely on the NN to sort it out itself?</p></li>
  </ol>
  
Tags: <neural-networks><deep-learning><classification><image-recognition>
Title: How to perform insect classification given two images of the same insect?
UserDisplayName: Pelit Mamani
ThreadText: # How to perform insect classification given two images of the same insect?
  
  (Asked by: username_0 on 2020-03-20)
  
  I'm relatively new to image classification. Currently, I am trying to classify insect images, using a convolutional neural network (CNN).
  When I ask a human expert to identify an insect, I usually provide 2 photos: back and face. It seems that sometimes one feature stands out and allows identification with high certainty ("spots on the back - definitely a ladybug"), while other times you need to cross-reference both angles ("grey back could mean a few things, but after cross-referencing with the eyes - it's a moth").
  
  How is it customary to implement this? Naively I was considering:
  
  1. Two separate networks, one for backs and one for faces? If so, what formula is best for weighing in their outputs?
  2. Single network, but separate dual classifications - e.g. "moth face", "moth back", "ladybug face", "ladybug back"?
  3. A single network, feed everything naively (e.g. moths from different angles, all with the same classification "moth") and rely on the NN to sort it out itself?
  
  **Tags:** neural-networks, deep-learning, classification, image-recognition
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-20. Score: 1 | Accepted answer
  
  There are several ways you can do this.
  
  One is to input both images in input, so it can be a 2 input system or an input with 6 channels.
  
  As you suggested in 1st point, you can make 2 networks, connect them at the end and add another layer for final classification or use outputs from both and train another classifier (like Gradient bosting). You can look up ensemble techniques and ensemble of neural networks for more.
  
  For dual classification and naive approach, you will again have a problem in case there are some insects that can solely be identified from features at a specific angle, if so you can then discard other angles (e.g. ignore moth face if moth back is the distinguishing feature)
  
  
  ---
  
  