Answers.Body: <p>ResNet is an architecture for object recognition and you may use it to do your classification task.  Fast RCNN may improve your results but is a more difficult architecture to implement.  If you want to go in this direction the best place to start is the arxiv paper of the Fast R-CNN (arxiv.org/abs/1504.08083).  If I am not wrong, there is an implementation of fast-rcnn in pytorch if you really want that.</p>
  
  <p>You seem to be new to deep learning.  I would strongly recommend starting simple. ResNet-50 will probably be more than enough for your application. Moreover, I suggest using a lib like fast.ai.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-17T16:15:39.477Z
Answers.LastActivityDate: 2020-03-17T16:15:39.477Z
Answers.UserDisplayName: Fred Guth
Body: <p>I am working on a graffiti detection project. I need to analyze data stream from a camera mounted sideways on a vehicle to identify graffiti on city walls and notify authorities with the single best capture of graffiti and its geolocation, etc. </p>
  
  <p>I am trying to use a ResNet50 model pre-trained on ImageNet using transfer learning for my graffiti image dataset. The classification will be done on an edge device as network connectivity may not be reliable.</p>
  
  <p>Suppose I have a series of frames that have been detected to contain graffiti, as the vehicle goes past it, but I only need to report one image (so not all frames containing graffiti in the series). How can I do that? </p>
  
  <p>Ideally, I would like to report the frame where the camera is perpendicular to the wall. Why perpendicular? I think that images containing the graffiti when the camera is perpendicular to the wall will more clearly show the graffiti.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-17T11:18:47.700Z
Comments.Text: Welcome to AI Stack Exchange. It is not clear to me where you are stuck. You say about ResNet50 "I'm trying as of this post" - so that seems to be something you can already do (and I would guess you know at least something about neural networks, CNNs and image processing). Please give more detalis - in what way are you stuck with the object detection?
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-17T12:23:53.403Z
Comments.Text: Thank you. I am not able to understand the design of how to wrap around a Faster RCNN system around my ResNet-50 model for object detection.  In my knowledge, ResNet-50 is equivalent to a feature extraction technique for image classification. How do I detect the best sample of a series of images with Graffiti to save for further action. Edited post as well.
Comments.UserDisplayName: sgX
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-23T01:41:24.143Z
Comments.Text: I have edited your post to further clarify your problem. Make sure it's still consistent with your intent. Furthermore, I remove the second question, because otherwise this post becomes a little too broad. Please, ask your second question in a different and separate post and make sure to clarify your second question better.
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-23T01:44:53.930Z
Comments.Text: Actually, there's still something that's not fully clear. You are apparently asking two different questions: 1) how to identify graffiti in real-time (and that's already a big problem) and 2) how to report the graffiti perpendicular to the wall, once the detection has been made. Is 1) your main question? Please, edit your post to clarify this.
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-23T20:56:51.350Z
Comments.Text: I saw this job on Upwork. Like 30 people applied. What's your secret?
Comments.UserDisplayName: Alexander Soare
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-24T00:32:27.550Z
Comments.Text: Not through upwork, this is through a not-for-profit org I work for.
Comments.UserDisplayName: sgX
Tags: <deep-learning><computer-vision><image-recognition><transfer-learning>
Title: How can I detect the frame from video streaming that contains a graffiti on city wall?
UserDisplayName: sgX
ThreadText: # How can I detect the frame from video streaming that contains a graffiti on city wall?
  
  (Asked by: username_0 on 2020-03-17)
  
  I am working on a graffiti detection project. I need to analyze data stream from a camera mounted sideways on a vehicle to identify graffiti on city walls and notify authorities with the single best capture of graffiti and its geolocation, etc.
  
  I am trying to use a ResNet50 model pre-trained on ImageNet using transfer learning for my graffiti image dataset. The classification will be done on an edge device as network connectivity may not be reliable.
  
  Suppose I have a series of frames that have been detected to contain graffiti, as the vehicle goes past it, but I only need to report one image (so not all frames containing graffiti in the series). How can I do that?
  
  Ideally, I would like to report the frame where the camera is perpendicular to the wall. Why perpendicular? I think that images containing the graffiti when the camera is perpendicular to the wall will more clearly show the graffiti.
  
  **Tags:** deep-learning, computer-vision, image-recognition, transfer-learning
  
  > **Comments:**
  > **username_1**: Welcome to AI Stack Exchange. It is not clear to me where you are stuck. You say about ResNet50 "I'm trying as of this post" - so that seems to be something you can already do (and I would guess you know at least something about neural networks, CNNs and image processing). Please give more detalis - in what way are you stuck with the object detection?  
  > **username_0**: Thank you. I am not able to understand the design of how to wrap around a Faster RCNN system around my ResNet-50 model for object detection.  In my knowledge, ResNet-50 is equivalent to a feature extraction technique for image classification. How do I detect the best sample of a series of images with Graffiti to save for further action. Edited post as well.  
  > **username_2**: I have edited your post to further clarify your problem. Make sure it's still consistent with your intent. Furthermore, I remove the second question, because otherwise this post becomes a little too broad. Please, ask your second question in a different and separate post and make sure to clarify your second question better.  
  > **username_2**: Actually, there's still something that's not fully clear. You are apparently asking two different questions: 1) how to identify graffiti in real-time (and that's already a big problem) and 2) how to report the graffiti perpendicular to the wall, once the detection has been made. Is 1) your main question? Please, edit your post to clarify this.  
  > **username_3**: I saw this job on Upwork. Like 30 people applied. What's your secret?  
  > **username_0**: Not through upwork, this is through a not-for-profit org I work for.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2020-03-17. Score: 2 | Accepted answer
  
  ResNet is an architecture for object recognition and you may use it to do your classification task. Fast RCNN may improve your results but is a more difficult architecture to implement. If you want to go in this direction the best place to start is the arxiv paper of the Fast R-CNN (arxiv.org/abs/1504.08083). If I am not wrong, there is an implementation of fast-rcnn in pytorch if you really want that.
  
  You seem to be new to deep learning. I would strongly recommend starting simple. ResNet-50 will probably be more than enough for your application. Moreover, I suggest using a lib like fast.ai.
  
  
  ---
  
  