Detecting Object Dimensions.

Deriving dimensions of a custom object into real-time mode using smartphones.

Manoj Bhor
3 min readFeb 28, 2020
Segmenting/Detecting object and inserting bounding box.

(Note : Assuming Lady’s finger/Okra as a custom object throughout the content.)

As we are into an era of Innovation. Leaving some concentrated development records in the field of Augmented Reality and Artificial Intelligence. This innovation sure is going to proceed with its development in the product field by creating a lot additionally settling ventures and rise into enormous scope creations. In 2019, numerous organizations experienced different augmented reality models alongside Proof Of Concept ideas.

Specialists are attempting to transform the undertakings dependent on augmented reality into continuous client applications. The Artificial intelligence forecasts for 2020 state that AR innovation will proceed to develop and get its pace and break all the features.

Introduction

Numerous ventures that plan to take care of this issue include some type of sensors to be dispersed through the market, which would be dependable to gather information about object detection(IoT-style). We discover this methodology costly, both for establishment and support, not in any way versatile.

Detecting dimensions of an object i.e. height or width in real-time using smartphones with the help of Augmented Reality and Deep Learning. Using mobile application in Android or iOS with the help of libraries like ARCore or ARKit.

Photo by Charles Deluvio on Unsplash

More ARKit example : https://developer.apple.com/design/human-interface-guidelines/ios/images/arkit-measure-lines.png

Implementation

A model dependent on Scalable Object Detection utilizing Deep Neural Networks to confine and follow individuals/vehicles/pruned plants and numerous others in the camera see progressively. This is executed in an android or iOS application and utilized handy in a cell phone or some other shrewd gadget.

Picture grouping models arrange pictures into a single classification, normally relating to the most remarkable object. Frames taken with mobile phones are generally complex and contain various items. This being stated, allocating a mark with picture grouping models can get precarious and questionable. Object recognition models are in this way progressively fitting to recognize various relevant objects in a single frame. The second significant advantage of object detection models versus image classification ones is that localization of the objects is provided.

With the help of Deep Learning, use of Algorithms like Deeplab v3 or Object Detection. Identify the custom object of which we looking to detect the dimensions. Using libraries like Tensorflow we can create the model compatible to both Android as well as iOS.

Below given links are the helpful links to get Segmentation or Object Detection.

https://ai.googleblog.com/2018/03/semantic-image-segmentation-with.html

https://ai.googleblog.com/2018/07/accelerated-training-and-inference-with.html

Later on second step after Object Detection is to measure the dimensions of it.

The center components of an AR estimation stage is reliant after mixing increasing data and natural spatial learning. To expand from a designer’s standpoint we can separate it into two significant advances.

Prototyping : To assess if estimating is a chance on cell phones and equipment.

Augmenting : To layer extra data on of information got for the estimating usefulness.

A few peoples confronted a +/ — of 1 inch while estimating objects like an entryway, envelope and so forth. Notwithstanding, Google has just detested the duty of flawlessness with it expressing that 1 inch variety may happen in certain item measurements. Subsequently, it’s better not to endow the application with basic estimation necessities.

Photo by Markus Spiske on Unsplash

Conclusion

Thus, there is a standard method of measuring the dimensions of object with a scale. But this approach can help you down with approximate measurement using smart phones in real-time mode. Also, can keep record of measured object dimensions for further use.

**Code regarding above use case will be soon uploaded in next articles.

Thank you,

Let me know if you require more info regarding it.

https://www.linkedin.com/in/manoj-bhor/

--

--

Manoj Bhor

Enthusiastic Data Scientist. Solving various problem statements.