Difference between revisions of "Camera detect"

From BoSL Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This website outlines the work we have been doing to analyse images for objects.
 
This website outlines the work we have been doing to analyse images for objects.
 
==Want to use this package and trial it?==
 
==Want to use this package and trial it?==
We now can optimise the system to begin playing further. We have set this as a web interface to allow some playing around.
+
We have installed this onto our server. Please navigate here and have some fun: <b><li>http://114.142.160.204/~bosl/image_detect/camera_analysis.php</li></b>
<br>
+
You can use this site to analyse up to five of your own photos at a time. You can also change the accuracy threshold.
Please navigate here: <li>http://114.142.160.204/~bosl/image_detect/camera_analysis.php</li>
+
<br><br>
<br>
 
 
Steps to recreate this process is as follows on a linux operating system (largely following https://pjreddie.com/darknet/yolo/):
 
Steps to recreate this process is as follows on a linux operating system (largely following https://pjreddie.com/darknet/yolo/):
 
<li>Clone the gihub repo - git clone https://github.com/pjreddie/darknet.git then cd darknet then make</li>
 
<li>Clone the gihub repo - git clone https://github.com/pjreddie/darknet.git then cd darknet then make</li>
Line 11: Line 10:
 
<li>Then begin to play - e.g. ./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg</li>
 
<li>Then begin to play - e.g. ./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg</li>
 
<br>
 
<br>
 +
 
==Case study 1 - Troups Creek Duck Counting==
 
==Case study 1 - Troups Creek Duck Counting==
 +
 
To ensure that CT stays with us forever, we needed to have a way to automatically count ducks (she previously manually counted 1 million cows for us from individual pictures...and we were worried that she would run away when we told her about counting ducks at Troups Creek). So we found this awesome program called YoloV3 and decided to see if this model (trained on a generically available database).  
 
To ensure that CT stays with us forever, we needed to have a way to automatically count ducks (she previously manually counted 1 million cows for us from individual pictures...and we were worried that she would run away when we told her about counting ducks at Troups Creek). So we found this awesome program called YoloV3 and decided to see if this model (trained on a generically available database).  
 
<br><br>
 
<br><br>
 +
Here are some of the results of the automated counting system. You will see quite good agreement between the actual counts and the automated system. Just two of many images.
 +
<br>
 +
 +
[[File:Example bird counts.png]]
 +
 +
<br><br>
 +
Here is also the correlation between the manual counted method vs the automated system. There are over 300 photos used in this plot.<br>
 +
[[File:Correlation Ducks.png]]

Latest revision as of 16:53, 17 March 2023

Outline

This website outlines the work we have been doing to analyse images for objects.

Want to use this package and trial it?

We have installed this onto our server. Please navigate here and have some fun:

  • http://114.142.160.204/~bosl/image_detect/camera_analysis.php
  • You can use this site to analyse up to five of your own photos at a time. You can also change the accuracy threshold.

    Steps to recreate this process is as follows on a linux operating system (largely following https://pjreddie.com/darknet/yolo/):

  • Clone the gihub repo - git clone https://github.com/pjreddie/darknet.git then cd darknet then make
  • Grab the pre-trained weights - wget https://pjreddie.com/media/files/yolov3.weights
  • Then begin to play - e.g. ./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg

  • Case study 1 - Troups Creek Duck Counting

    To ensure that CT stays with us forever, we needed to have a way to automatically count ducks (she previously manually counted 1 million cows for us from individual pictures...and we were worried that she would run away when we told her about counting ducks at Troups Creek). So we found this awesome program called YoloV3 and decided to see if this model (trained on a generically available database).

    Here are some of the results of the automated counting system. You will see quite good agreement between the actual counts and the automated system. Just two of many images.

    Example bird counts.png



    Here is also the correlation between the manual counted method vs the automated system. There are over 300 photos used in this plot.
    Correlation Ducks.png