How can I train images in matlab?

2 views (last 30 days)
Cristel Esmerna
Cristel Esmerna on 29 Mar 2022
Commented: Cristel Esmerna on 1 Apr 2022
I have images that I will use for detectting object. How can I train images for image processing in matlab
  2 Comments
John D'Errico
John D'Errico on 29 Mar 2022
You train an image much like you would train a dog or a horse. Much patience, treats can be useful, repetition, etc.
Cristel Esmerna
Cristel Esmerna on 29 Mar 2022
What tools in matlab will I use to train images and can you give me sample code for training images with detected object and not detected? Again, thanks for you help.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 30 Mar 2022
rcnnObjectDetector
Detect objects using R-CNN deep learning detector
Description
The rcnnObjectDetector object detects objects from an image, using a R-CNN (regions with convolution neural networks) object detector. To detect objects in an image, pass the trained detector to the detect function. To classify image regions, pass the detector to the classifyRegions function.
Use of the rcnnObjectDetector requires Statistics and Machine Learning Toolbox™ and Deep Learning Toolbox™.
When using the detect or classifyRegions functions with rcnnObjectDetector, use of a CUDA® enabled NVIDIA® GPU is highly recommended. The GPU reduces computation time significantly. Usage of the GPU requires Parallel Computing Toolbox™. For information about the supported compute capabilities, see GPU Support by Release (Parallel Computing Toolbox).
  3 Comments
Image Analyst
Image Analyst on 30 Mar 2022
I believe there is sample code in the documentation there.
Cristel Esmerna
Cristel Esmerna on 1 Apr 2022
Thank you for your help. I'll try your suggestion and get back to you once I tried it.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!