Leptonica  1.82.0
Image processing and image analysis suite
bootnumgen1.c File Reference
#include <string.h>
#include "allheaders.h"

Go to the source code of this file.

Functions

PIXAl_bootnum_gen1 (void)
 

Variables

static const char * l_bootnum1
 

Detailed Description


  Function for generating prog/recog/digits/bootnum1.pa from an
  encoded, gzipped and serialized string.

  This was generated using the stringcode utility, slightly edited,
  and then merged into a single file.

  The code and encoded strings were made using the stringcode utility:

      L_STRCODE  *strc;
      strc = strcodeCreate(101);   // arbitrary integer
      strcodeGenerate(strc, "recog/digits/bootnum1.pa", "PIXA");
      strcodeFinalize(&strc, ".");

  The two output files, autogen.101.c and autogen.101.h, were
  then slightly edited and merged into this file.

  Call this way:
      PIXA  *pixa = l_bootnum_gen1();   (C)
      Pixa  *pixa = l_bootnum_gen1();   (C++)

Definition in file bootnumgen1.c.

Function Documentation

◆ l_bootnum_gen1()

PIXA* l_bootnum_gen1 ( void  )

l_bootnum_gen1()

Returns
pixa of labeled digits
Call this way:
     PIXA  *pixa = l_bootnum_gen1();   (C)
     Pixa  *pixa = l_bootnum_gen1();   (C++)

Definition at line 294 of file bootnumgen1.c.

Referenced by recogMakeBootDigitTemplates().