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

Go to the source code of this file.

Functions

PIXAl_bootnum_gen2 (void)
 

Variables

static const char * l_bootnum2
 

Detailed Description

  Function for generating prog/recog/digits/bootnum2.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(102);   // arbitrary integer
      strcodeGenerate(strc, "recog/digits/bootnum2.pa", "PIXA");
      strcodeFinalize(&strc, ".");
  The two output files, autogen.102.c and autogen.102.h, were
  then slightly edited and merged into this file.
  Call this way:
      PIXA  *pixa = l_bootnum_gen2();   (C)
      Pixa  *pixa = l_bootnum_gen2();   (C++)

Definition in file bootnumgen2.c.

Function Documentation

◆ l_bootnum_gen2()

PIXA* l_bootnum_gen2 ( void  )

l_bootnum_gen2()

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

Definition at line 277 of file bootnumgen2.c.

Referenced by recogMakeBootDigitTemplates().