prakrutpatel commited on
Commit
6226ce3
·
1 Parent(s): a0c1003

New description added

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -420,5 +420,5 @@ def segment(image):
420
  examples = os.listdir('../../Examples')
421
  examples = ['../../Examples/' + item for item in examples]
422
  title="Context R-CNN"
423
- description=f'<p class="has-line-data" data-line-start="0" data-line-end="2">Gradio demo for <strong>Context R-CNN</strong>: <a href="https://arxiv.org/abs/1912.03538">[Paper]</a>.<br>Context R-CNN is an object detection algorithm that uses contextual features to improve object detection. It is based on Faster R-CNN, but it adds a module that can incorporate contextual features from surrounding frames. This allows Context R-CNN to better identify objects that are partially obscured or that are moving quickly.</p><p class="has-line-data" data-line-start="3" data-line-end="4">The contextual features are stored in a memory bank, which is built up over time as the camera captures images. The memory bank is indexed using an attention mechanism, which allows Context R-CNN to focus on the most relevant contextual features for each object.</p><p class="has-line-data" data-line-start="5" data-line-end="6">Context R-CNN has been shown to improve object detection performance on a variety of datasets, including camera trap data and traffic camera data. It is a promising approach for improving object detection in static monitoring cameras, where the sampling rate is low and the objects may exhibit long-term behavior.</p><p class="has-line-data" data-line-start="7" data-line-end="8">This application of Context R-CNN demonstrates a possible use case for Context R-CNN (camera trap images of Gopher Tortoises in the wild), while showcasing improvements made over an existing Faster R-CNN implementation. Both models of R-CNN were trained on the exact same train, test and validation datasets for best comparison. Context R-CNN improves upon Faster R-CNN by building a contextual memory bank using environmental factors like time of day, seasonal changes, etc. The contextual feature matrix used by Context R-CNN model was build using Faster R-CNN model.</p><p class="has-line-data" data-line-start="10" data-line-end="11"><strong>Examples images provided in this demo were not a part of the dataset used for training or testing the models.</strong></p><p class="has-line-data" data-line-start="12" data-line-end="13">Note: Uploaded images need to have date taken attribute in the metadata for the model to process it correctly.</p>'
424
  gr.Interface(fn=segment, inputs = "file",outputs = "image" ,title=title, description=description ,examples=examples,enable_queue=True).launch()
 
420
  examples = os.listdir('../../Examples')
421
  examples = ['../../Examples/' + item for item in examples]
422
  title="Context R-CNN"
423
+ description=f'<p class="has-line-data" data-line-start="0" data-line-end="1">Gradio demo for <strong>Context R-CNN</strong>: <a href="https://arxiv.org/abs/1912.03538">[Paper]</a>.</p><p class="has-line-data" data-line-start="2" data-line-end="3">Context R-CNN is an object detection algorithm that uses contextual features to improve object detection. It is based on Faster R-CNN, but it adds a module that can incorporate contextual features from surrounding frames. This allows Context R-CNN to better identify objects that are partially obscured or that are moving quickly.</p><p class="has-line-data" data-line-start="4" data-line-end="5">The contextual features are stored in a memory bank, which is built up over time as the camera captures images. The memory bank is indexed using an attention mechanism, which allows Context R-CNN to focus on the most relevant contextual features for each object.</p><p class="has-line-data" data-line-start="6" data-line-end="7">Context R-CNN has been shown to improve object detection performance on a variety of datasets, including camera trap data and traffic camera data. It is a promising approach for improving object detection in static monitoring cameras, where the sampling rate is low and the objects may exhibit long-term behavior.</p><p class="has-line-data" data-line-start="8" data-line-end="9">This application of Context R-CNN demonstrates its potential for use in camera trap images of Gopher Tortoises in the wild. It also shows how Context R-CNN can improve object detection performance over existing Faster R-CNN implementations. Both models of R-CNN were trained on the exact same datasets for best comparison. Context R-CNN improves upon Faster R-CNN by building a contextual memory bank, such contextual information can include the position of other objects in the scene, the motion of the objects, and the time of day. The contextual feature matrix used by Context R-CNN model was build using Faster R-CNN model.</p><p class="has-line-data" data-line-start="11" data-line-end="12"><strong>The examples images provided in this demo were not used to train or test the models.</strong></p><p class="has-line-data" data-line-start="13" data-line-end="14">Note: The model requires the date taken attribute to be present in the metadata of the uploaded images in order to process them correctly.</p>'
424
  gr.Interface(fn=segment, inputs = "file",outputs = "image" ,title=title, description=description ,examples=examples,enable_queue=True).launch()