Measure Anything: Real-time, Multi-stage Vision-based Dimensional Measurement using Segment Anything

Yongkyu Lee, Shivam Kumar Panda, Wei Wang, Mohammad Khalid Jawed
12/4/2024
cs.CV

No official code found. Best implementation: StructuresComp/measure-anything (25 stars, GPL-3.0, last commit 2025-01-09).

Abstract

We present Measure Anything, a comprehensive vision-based framework for dimensional measurement of objects with circular cross-sections, leveraging the Segment Anything Model (SAM). Our approach estimates key geometric features -- including diameter, length, and volume -- for rod-like geometries with varying curvature and general objects with constant skeleton slope. The framework integrates segmentation, mask processing, skeleton construction, and 2D-3D transformation, packaged in a user-friendly interface. We validate our framework by estimating the diameters of Canola stems -- collected from agricultural fields in North Dakota -- which are thin and non-uniform, posing challenges for existing methods. Measuring its diameters is critical, as it is a phenotypic traits that correlates with the health and yield of Canola crops. This application also exemplifies the potential of Measure Anything, where integrating intelligent models -- such as keypoint detection -- extends its scalability to fully automate the measurement process for high-throughput applications. Furthermore, we showcase its versatility in robotic grasping, leveraging extracted geometric features to identify optimal grasp points.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
253PythonNov 5, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lee2024measure,
  title  = {Measure Anything: Real-time, Multi-stage Vision-based Dimensional Measurement using Segment Anything},
  author = {Yongkyu Lee and Shivam Kumar Panda and Wei Wang and Mohammad Khalid Jawed},
  year   = {2024},
  eprint = {2412.03472},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03472v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03472.svg)](https://codeofpaper.com/paper/2412.03472)

Discussion