Answers.Body: <p>A good machine learning object detector, would be helpful in finding the logs but classical image processing would be required to accurately find the log profiles.  Neural networks are generally not used for computing geometric dimensions.  In addition, you will need to have a calibration method so that you can convert pixels to some distance unit (e.g. inches, centimeters, etc.).  </p>
  
  <p>The <a href="http://www.timbeter.com/en" rel="nofollow noreferrer">Timbeter</a> app seems to do what you need (see below).</p>
  
  <p><a href="https://i.sstatic.net/dUov5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dUov5.png" alt="enter image description here"></a></p>
  
  <p>This <a href="https://countingthings.com/" rel="nofollow noreferrer">app</a> (see below)  is interesting although it doesn't solve your problem.  It appears good at counting but finding the profiles to within an inch is a bigger problem.</p>
  
  <p><a href="https://i.sstatic.net/046j7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/046j7.png" alt="enter image description here"></a></p>
  
  <p>This blog <a href="https://craftofcoding.wordpress.com/2017/12/04/how-many-logs-can-a-woodchuck-count/" rel="nofollow noreferrer">"HOW MANY LOGS CAN A WOODCHUCK COUNT?"</a> goes over the image processing challenges of counting logs.  The author doesn't completely solve the problem.</p>
  
  <p>There is a post on Stackoverflow, <a href="https://stackoverflow.com/questions/37540305/how-to-count-white-object-on-binary-image">How to count white object on Binary Image?
  </a> which makes an attempt.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-20T04:12:34.640Z
Answers.LastActivityDate: 2017-12-20T04:12:34.640Z
Answers.UserDisplayName: Brian O'Donnell
Body: <p>I am interested in learning more about the capabilities of AI, one of my ideas with practical functionality is using images of the rear of a log hauling truck to measure the individual logs using AI. The diameter and length of the log determine the board foot of that log. The diameter is the variable, with most lengths being the same 8ft or 16ft length. The AI would have to measure the diameter usually in 1-inch increments. 
  I assume you would have to train the AI using pictures of logs that were manually measured. The images would mostly be straight on rear shots, not much off angle. However not every tree grows perfectly round so it will need to be able to measure those to maximize board feet. </p>
  
  <p>Using AI long term it would be interesting if it could suggest the best way to cut the log gaining the most lumber board feet from the log. </p>
  
  <p>What would be used to develop something like this? Obviously some type of image recognition with learning.</p>
  
Tags: <machine-learning><image-recognition>
Title: Measuring logs from a picture
UserDisplayName: Switcher
ThreadText: # Measuring logs from a picture
  
  (Asked by: username_0 on 2017-12-15)
  
  I am interested in learning more about the capabilities of AI, one of my ideas with practical functionality is using images of the rear of a log hauling truck to measure the individual logs using AI. The diameter and length of the log determine the board foot of that log. The diameter is the variable, with most lengths being the same 8ft or 16ft length. The AI would have to measure the diameter usually in 1-inch increments.
  I assume you would have to train the AI using pictures of logs that were manually measured. The images would mostly be straight on rear shots, not much off angle. However not every tree grows perfectly round so it will need to be able to measure those to maximize board feet.
  
  Using AI long term it would be interesting if it could suggest the best way to cut the log gaining the most lumber board feet from the log.
  
  What would be used to develop something like this? Obviously some type of image recognition with learning.
  
  **Tags:** machine-learning, image-recognition
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-20. Score: 1
  
  A good machine learning object detector, would be helpful in finding the logs but classical image processing would be required to accurately find the log profiles. Neural networks are generally not used for computing geometric dimensions. In addition, you will need to have a calibration method so that you can convert pixels to some distance unit (e.g. inches, centimeters, etc.).
  
  The [Timbeter](http://www.timbeter.com/en) app seems to do what you need (see below).
  
  [![enter image description here](https://i.sstatic.net/dUov5.png)](https://i.sstatic.net/dUov5.png)
  
  This [app](https://countingthings.com/) (see below) is interesting although it doesn't solve your problem. It appears good at counting but finding the profiles to within an inch is a bigger problem.
  
  [![enter image description here](https://i.sstatic.net/046j7.png)](https://i.sstatic.net/046j7.png)
  
  This blog ["HOW MANY LOGS CAN A WOODCHUCK COUNT?"](https://craftofcoding.wordpress.com/2017/12/04/how-many-logs-can-a-woodchuck-count/) goes over the image processing challenges of counting logs. The author doesn't completely solve the problem.
  
  There is a post on Stackoverflow, [How to count white object on Binary Image?](https://stackoverflow.com/questions/37540305/how-to-count-white-object-on-binary-image) which makes an attempt.
  
  
  ---
  
  