gen_dict.json 1.9 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "AdditionalImports" : {
  3. "*" : [ "\"text.hpp\"" ]
  4. },
  5. "func_arg_fix" : {
  6. "Text" : {
  7. "detectRegions" : { "method" : {"ctype" : "erGrouping_Modes"} },
  8. "erGrouping" : { "method" : {"ctype" : "erGrouping_Modes"} },
  9. "loadOCRHMMClassifier" : { "classifier" : {"ctype" : "classifier_type"} },
  10. "(ERFilter*)createERFilterNM1:(NSString*)filename thresholdDelta:(int)thresholdDelta minArea:(float)minArea maxArea:(float)maxArea minProbability:(float)minProbability nonMaxSuppression:(BOOL)nonMaxSuppression minProbabilityDiff:(float)minProbabilityDiff" : { "createERFilterNM1" : {"name" : "createERFilterNM1FromFile"} },
  11. "(ERFilter*)createERFilterNM2:(NSString*)filename minProbability:(float)minProbability" : { "createERFilterNM2" : {"name" : "createERFilterNM2FromFile"} }
  12. },
  13. "OCRBeamSearchDecoder" : {
  14. "(OCRBeamSearchDecoder*)create:(NSString*)filename vocabulary:(NSString*)vocabulary transition_probabilities_table:(Mat*)transition_probabilities_table emission_probabilities_table:(Mat*)emission_probabilities_table mode:(decoder_mode)mode beam_size:(int)beam_size" : { "create" : {"name" : "createFromFile"} },
  15. "create" : { "mode" : {"ctype" : "decoder_mode",
  16. "defval" : ""
  17. } }
  18. },
  19. "OCRHMMDecoder" : {
  20. "(OCRHMMDecoder*)create:(NSString*)filename vocabulary:(NSString*)vocabulary transition_probabilities_table:(Mat*)transition_probabilities_table emission_probabilities_table:(Mat*)emission_probabilities_table mode:(decoder_mode)mode classifier:(int)classifier" : { "create" : {"name" : "createFromFile"} },
  21. "create" : { "mode" : {"ctype" : "decoder_mode"} }
  22. },
  23. "OCRTesseract" : {
  24. "create" : { "oem" : {"ctype" : "ocr_engine_mode"},
  25. "psmode" : {"ctype" : "page_seg_mode"} }
  26. }
  27. }
  28. }