Creating a R-CNN utilising the Deep Network Designer Toolbox

2 次查看(过去 30 天)
Hello,
I am not a programmer, so that is why the network designer is being used, can anyone asnwer my question to see if it is possible. Can you make a output that had three factors for example. I have images of a road, that contains potholes and cracking, can the system give these defects a boundary box, a title such as "pothole" and also a condition score that is 1 to 5, presented as final output of "Pothole - 3" with an attached boundary box/s in an image, or is this too complicated. I am buidling a R - CNN.

回答(1 个)

Himanshu
Himanshu 2023-3-29
Hello Kailan,
I understand that you want to create an R-CNN model that not only detects road defects like potholes and cracks but also assigns a condition score to the detected defects.
You can follow the below steps to build the required R-CNN model:
  1. Label your dataset: You can use MATLAB's Image Labeler or Video Labeler app to manually label your dataset with the bounding boxes and their corresponding categories (e.g., "pothole" or "crack") and condition scores (1 to 5). Then, divide your dataset into training and validation sets.
  2. You have to modify the R-CNN architecture to have two separate output layers: A classification layer for detecting the type of defect (e.g., "pothole" or "crack") and a regression layer for predicting the condition score (1 to 5).
  3. Train and test the R-CNN: Train the modified R-CNN architecture on your labelled dataset using the appropriate training options. Then, use the trained R-CNN to detect defects on new images. The output should include the bounding boxes, defect types, and condition scores for each detected defect.
You can refer to the below documentation to understand more about Object Detection Using Faster R-CNN Deep Learning, Image Labeler and Video Labeler.

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by