V
V
vergotten2018-05-21 03:29:32
Neural networks
vergotten, 2018-05-21 03:29:32

How to create an image mask for convolutional neural networks?

Hello dear experts, I apologize in advance for a possibly stupid question :)
The fact is that I read one article where a fully convolutional neural network was used to determine the check area in the image. It used a mask of the following type:
image-with-receipt-and-the-mask.png
where white is the desired area.
The question is, is it possible to make several masks for different parts and how to implement it? Or can we simply use another value from 0 to 255 for this, different from the existing ones? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny Kravchenko, 2018-05-24
@vergotten

For different classes (for example, background, paper, some objects), you need to use different channels, i.e. the target image must have a width, height, n_classes shape.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question