Answers.Body: <p>You can search for the following paper titles:</p>
  
  <ol>
  <li>A Deep Multi-Level Network for Saliency Prediction.</li>
  <li>Beyond Universal Saliency: Personalized Saliency Prediction with Multi-task CNN.</li>
  </ol>
  
  <p>You can code in python using Pytorch framework.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-04T09:27:46.157Z
Answers.LastActivityDate: 2018-07-04T09:27:46.157Z
Answers.UserDisplayName: varsh
Answers.Body: <p>To get a computer to detect and provide the bounding box or circle around a visual attention area in an image, the basis for attention must be determined.  Then the method of getting the computer system to make choices based on that basis can be selected.  First things first.</p>
  
  <p>Is it a face or body or game character that is to be the object of interest?  Will it be the most dynamic object in the frame in terms of movement?  If it is a person, is it always the same person?  In either case, will their face be exposed to the angle of the camera?  Are there only still shots, or will the images be frames in a movie?</p>
  
  <p>Once you know how YOU would distinguish the object requiring attention from other objects and background, then you can begin to see how a computer might simulate that recognition.  When training a deep network that involves convolution kernels (called a CNN or convolutional neural network) and possibly long-short term memory cells (LSTM), there are stages to the recognition.</p>
  
  <p>Usually edges of things are detected first.  In movies, the movement of edges are tracked as features of the image.  Elements in the image that identify what kind of object the objects are is second.  For instance a toy might be detected by the way plastic reflects light and the color types and shapes common to toys.  A face might be first recognize by identifying eyes, nose, mouth, chin, and ears.</p>
  
  <p>After parts are identified, then entire objects can be identified through another stage of feature extraction.  Vision systems follow the same basic principles of recognition that our human visual system uses.</p>
  
  <p>There are many frameworks and libraries to help with these tasks, but to use them, it is important to get a general picture of the process and to clarify what it is that will sets the objects of importance out from other objects that may be similar or completely different so that attention can be focused the way you want.</p>
  
  <p>Once you have <span class="math-container">$(h_{min}, v_{min}); (h_{max}, v_{max})$</span>, the coordinates of the two corners of your cropping operation, which would be the goal of your network training, then any image manipulation library could handle the crop.</p>
  
  <p>That's the state of the art.  There is no high level SDK that allows one to command the computer to find the most important item in the frame without any clarification of what is meant by that and training operations to teach the software to find what you've decided to be important based on some criteria.  Not yet anyway.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-08T02:36:31.487Z
Answers.LastActivityDate: 2018-11-08T02:36:31.487Z
Answers.UserDisplayName: Douglas Daseeco
Answers.Body: <p>"Attention" in neural network (visual) is the area of the image where the network can find most number of features to classify it with high confidence.Based on your description you are talking about "soft attention". </p>
  
  <p><em>Do we have any tools or SDK to implement that?</em> i don't think there are readymade SDKs available. It is much better to train a model on your dataset with attention. Once you have your base model ready , it is easy to add attention mechanism for it.I suggest you to check <a href="https://arxiv.org/pdf/1502.03044.pdf" rel="nofollow noreferrer">https://arxiv.org/pdf/1502.03044.pdf</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-04T14:28:28.860Z
Answers.LastActivityDate: 2018-07-04T14:28:28.860Z
Answers.UserDisplayName: thecomplexitytheorist
Body: <p>I'm trying to detect the <strong>visual attention</strong> area in a given image and crop the image into that area. For instance, given an image of any size and a rectangle of say <span class="math-container">$L \times W$</span> dimension as an input, I would like to crop the image to the most important visual attention area.</p>
  <p>What are the state-of-the-art approaches for doing that?</p>
  <p>(By the way, do you know of any tools to implement that? Any piece of code or algorithm would really help.)</p>
  <p>BTW, within a &quot;single&quot; object, I would like to get attention. So object detection might not be the best thing. I am looking for any approach, provided it's SOTA, but Deep Learning might be a better choice.</p>
  
Tags: <machine-learning><deep-learning><computer-vision><reference-request><state-of-the-art>
Title: What are the state-of-the-art approaches for detecting the most important "visual attention" area of an image?
UserDisplayName: Mary
ThreadText: # What are the state-of-the-art approaches for detecting the most important "visual attention" area of an image?
  
  (Asked by: username_0 on 2018-06-15)
  
  I'm trying to detect the **visual attention** area in a given image and crop the image into that area. For instance, given an image of any size and a rectangle of say $L \times W$ dimension as an input, I would like to crop the image to the most important visual attention area.
  
  What are the state-of-the-art approaches for doing that?
  
  (By the way, do you know of any tools to implement that? Any piece of code or algorithm would really help.)
  
  BTW, within a "single" object, I would like to get attention. So object detection might not be the best thing. I am looking for any approach, provided it's SOTA, but Deep Learning might be a better choice.
  
  **Tags:** machine-learning, deep-learning, computer-vision, reference-request, state-of-the-art
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2018-07-04. Score: 2
  
  You can search for the following paper titles:
  
  1. A Deep Multi-Level Network for Saliency Prediction.
  2. Beyond Universal Saliency: Personalized Saliency Prediction with Multi-task CNN.
  
  You can code in python using Pytorch framework.
  
  
  ---
  
  ### Answer by username_2 on 2018-11-08. Score: 0
  
  To get a computer to detect and provide the bounding box or circle around a visual attention area in an image, the basis for attention must be determined. Then the method of getting the computer system to make choices based on that basis can be selected. First things first.
  
  Is it a face or body or game character that is to be the object of interest? Will it be the most dynamic object in the frame in terms of movement? If it is a person, is it always the same person? In either case, will their face be exposed to the angle of the camera? Are there only still shots, or will the images be frames in a movie?
  
  Once you know how YOU would distinguish the object requiring attention from other objects and background, then you can begin to see how a computer might simulate that recognition. When training a deep network that involves convolution kernels (called a CNN or convolutional neural network) and possibly long-short term memory cells (LSTM), there are stages to the recognition.
  
  Usually edges of things are detected first. In movies, the movement of edges are tracked as features of the image. Elements in the image that identify what kind of object the objects are is second. For instance a toy might be detected by the way plastic reflects light and the color types and shapes common to toys. A face might be first recognize by identifying eyes, nose, mouth, chin, and ears.
  
  After parts are identified, then entire objects can be identified through another stage of feature extraction. Vision systems follow the same basic principles of recognition that our human visual system uses.
  
  There are many frameworks and libraries to help with these tasks, but to use them, it is important to get a general picture of the process and to clarify what it is that will sets the objects of importance out from other objects that may be similar or completely different so that attention can be focused the way you want.
  
  Once you have $(h\_{min}, v\_{min}); (h\_{max}, v\_{max})$, the coordinates of the two corners of your cropping operation, which would be the goal of your network training, then any image manipulation library could handle the crop.
  
  That's the state of the art. There is no high level SDK that allows one to command the computer to find the most important item in the frame without any clarification of what is meant by that and training operations to teach the software to find what you've decided to be important based on some criteria. Not yet anyway.
  
  
  ---
  
  ### Answer by username_3 on 2018-07-04. Score: 0
  
  "Attention" in neural network (visual) is the area of the image where the network can find most number of features to classify it with high confidence.Based on your description you are talking about "soft attention".
  
  *Do we have any tools or SDK to implement that?* i don't think there are readymade SDKs available. It is much better to train a model on your dataset with attention. Once you have your base model ready , it is easy to add attention mechanism for it.I suggest you to check <https://arxiv.org/pdf/1502.03044.pdf>.
  
  
  ---
  
  