Skip to content

Commit

Permalink
Remove unsafe API TessBaseAPIDetectOS entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
James R. Barlow committed Dec 7, 2016
1 parent bc95798 commit fb7298e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/capi.h
Expand Up @@ -286,9 +286,6 @@ TESS_API void TESS_CALL TessBaseAPISetProbabilityInContextFunc(TessBaseAPI* han

TESS_API void TESS_CALL TessBaseAPISetFillLatticeFunc(TessBaseAPI* handle, TessFillLatticeFunc f);

// Deprecated, no longer working
TESS_API BOOL TESS_CALL TessBaseAPIDetectOS(TessBaseAPI* handle, OSResults* results);

// Call TessDeleteText(*best_script_name) to free memory allocated by this function
TESS_API BOOL TESS_CALL TessBaseAPIDetectOrientationScript(TessBaseAPI* handle, char** best_script_name,
int* best_orientation_deg, float* script_confidence,
Expand Down

0 comments on commit fb7298e

Please sign in to comment.