This question is closed. Reopen it to edit or answer.

Can i use machinelearning for image classification?

1 view (last 30 days)
chan ho yoo
chan ho yoo on 13 May 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
i want to detect the number of stairs using machinelearning.
but i can't find category of machinelearning, image.
im trying deeplearning now.
but it's difficult.
help me plz
  1 Comment
Walter Roberson
Walter Roberson on 13 May 2019
"Deep Learning" is one kind of machine learning.
To apply deep learning to count stairs, you would need a number of images each tagged with the number of stairs. The stairs depicted should have different spacings, different angles of view, painted different colors, made of different materials, carpetted different ways (including with patterns that might happen to have straight lines), some should be curved. You would also need a number of images in which there are no stairs at all -- some in which there is nothing remotely resembling stairs and others with things that sort of resemble stairs but are not. For example, curbs are like single-stair staircases and yet are not considered stairs; and rock ledges that happen to be straight-ish are not considered stairs, except for the cases they are considered stairs such as because they are used to climb up from a beach.

Answers (1)

Prathamesh Degwekar
Prathamesh Degwekar on 21 May 2019
Depending on your image or use case, you can probably use Edge Detection, Region of Interest selection followed by Line Detection (Using Hough Transform) to get an idea of the lines in the image, and then since each line would represent a single stair, you can go ahead with the rest of your project.
Hope this helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!