Skip to main content
In this step, you will tell the program how to look for the field named Cooking, which contains cooking instructions and information about the number of servings. Note that information about the number of servings is given after the word Serves on all the test images. However, on images 2, 3 and 4 the word “serves” is preceded by other words. Describe the field in such a way as to exclude this unwanted text from the block to be recognized. For easier navigation in the FlexiLayout tree and to reduce the number of hypotheses for the Cooking element, create a Group element and name it Description:
  1. Within the Cooking element, create a Group element and name it Description.
  2. Within the Description element, create an element of type Static Text and name it Serves. This element will be used to locate the word “Serves”. For more information, see Step 21.
  3. Within the Description element, create an element of type Character String and name it Portions. This element will be used to locate the number of servings. For more information, see Step 22.
  4. Within the Description element, create an element of type Paragraph and name it CookingDescription. This element will correspond to the Cooking field. For more information, see Step 23.
  5. Create a block corresponding to the Cooking field and name it CookingDescription. For more information, see Step 24.