diff --git a/.gitignore b/.gitignore index 45a6f01..2582a62 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules build !lib/* !release/** -!openalpr_runtime/** \ No newline at end of file +!openalpr_runtime/** +*.log diff --git a/README.md b/README.md index 0ff613a..c2f9dbc 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,13 @@ node-openalpr This package binds [OpenALPR](https://github.com/openalpr/openalpr) with Node.js -Version: 1.1.0 - Released January 4th, 2016 +Version: 1.1.3 - Released August 2nd, 2017 ``` Changelog: +1.1.3 - Updates to be compatible with OpenALPR 2.3.0 +1.1.2 - Add country feature 1.1.1 - Fix for building on OSX 1.1.0 - Updated OpenALPR to version 2.2, should fix Linux and OSX builds 1.0.9 - Updated OpenALPR build and US region data @@ -53,7 +55,12 @@ function identify (id, path) { })); } -openalpr.Start (); +// Basic starting +openalpr.Start(); + +// European detection starting +// openalpr.Start(null, null, null, true, 'eu'); + openalpr.GetVersion (); for (var i = 0; i < 350; i++) { diff --git a/includes/TRexpp.h b/includes/TRexpp.h old mode 100755 new mode 100644 diff --git a/includes/alpr.h b/includes/alpr.h old mode 100755 new mode 100644 index 974999f..b08913a --- a/includes/alpr.h +++ b/includes/alpr.h @@ -137,6 +137,14 @@ namespace alpr Alpr(const std::string country, const std::string configFile = "", const std::string runtimeDir = ""); virtual ~Alpr(); + // Set the country used for plate recognition + void setCountry(std::string country); + + // Update the prewarp setting without reloading the library + void setPrewarp(std::string prewarp_config); + // Update the detection mask without reloading the library + void setMask(unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight); + void setDetectRegion(bool detectRegion); void setTopN(int topN); void setDefaultRegion(std::string region); @@ -155,6 +163,7 @@ namespace alpr static std::string toJson(const AlprResults results); + static std::string toJson(const AlprPlateResult result); static AlprResults fromJson(std::string json); bool isLoaded(); diff --git a/includes/alpr_impl.h b/includes/alpr_impl.h old mode 100755 new mode 100644 index cc22fd4..a849168 --- a/includes/alpr_impl.h +++ b/includes/alpr_impl.h @@ -36,8 +36,8 @@ #include "licenseplatecandidate.h" #include "../statedetection/state_detector.h" -#include "segmentation/charactersegmenter.h" -#include "ocr.h" +#include "ocr/ocr.h" +#include "ocr/ocrfactory.h" #include "constants.h" @@ -83,20 +83,24 @@ namespace alpr AlprFullDetails recognizeFullDetails(cv::Mat img, std::vector regionsOfInterest); AlprResults recognize( std::vector imageBytes ); - AlprResults recognize( std::vector imageBytes, std::vector regionsOfInterest ); + AlprResults recognize( std::vector imageBytes, std::vector regionsOfInterest ); AlprResults recognize( unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight, std::vector regionsOfInterest ); AlprResults recognize( cv::Mat img ); AlprResults recognize( cv::Mat img, std::vector regionsOfInterest ); - void applyRegionTemplate(AlprPlateResult* result, std::string region); - AlprFullDetails analyzeSingleCountry(cv::Mat colorImg, cv::Mat grayImg, std::vector regionsOfInterest); + void setCountry(std::string country); + void setPrewarp(std::string prewarp_config); + void setMask(unsigned char* pixelData, int bytesPerPixel, int imgWidth, int imgHeight); + void setDetectRegion(bool detectRegion); void setTopN(int topn); void setDefaultRegion(std::string region); static std::string toJson( const AlprResults results ); + static std::string toJson( const AlprPlateResult result ); + static AlprResults fromJson(std::string json); static std::string getVersion(); @@ -116,6 +120,8 @@ namespace alpr bool detectRegion; std::string defaultRegion; + void loadRecognizers(); + cv::Mat getCharacterTransformMatrix(PipelineData* pipeline_data ); std::vector getCharacterPoints(cv::Rect char_rect, cv::Mat transmtx); std::vector convertRects(std::vector regionsOfInterest); diff --git a/includes/binarize_wolf.h b/includes/binarize_wolf.h old mode 100755 new mode 100644 diff --git a/includes/cjson.h b/includes/cjson.h old mode 100755 new mode 100644 diff --git a/includes/colorfilter.h b/includes/colorfilter.h old mode 100755 new mode 100644 diff --git a/includes/config.h b/includes/config.h old mode 100755 new mode 100644 index 9fcf920..53748b2 --- a/includes/config.h +++ b/includes/config.h @@ -40,6 +40,8 @@ namespace alpr Config(const std::string country, const std::string config_file = "", const std::string runtime_dir = ""); virtual ~Config(); + bool load_countries(const std::string countries); + bool loaded; std::string config_file_path; @@ -55,8 +57,14 @@ namespace alpr int maxDetectionInputWidth; int maxDetectionInputHeight; + float contrastDetectionThreshold; + bool skipDetection; + + std::string detection_mask_image; + int analysis_count; + bool auto_invert; bool always_invert; @@ -153,6 +161,7 @@ namespace alpr float stateIdImagePercent; std::vector parse_country_string(std::string countries); + bool country_is_loaded(std::string country); void loadCommonValues(std::string configFile); void loadCountryValues(std::string configFile, std::string country); diff --git a/includes/constants.h b/includes/constants.h old mode 100755 new mode 100644 index e216761..8830d77 --- a/includes/constants.h +++ b/includes/constants.h @@ -27,6 +27,11 @@ #define CASCADE_DIR "/region/" #define POSTPROCESS_DIR "/postprocess" +#define DEFAULT_SHARE_DIR INSTALL_PREFIX "/share/openalpr" + +#define DEFAULT_RUNTIME_DATA_DIR DEFAULT_SHARE_DIR "/runtime_data" +#define CONFIG_FILE_TEMPLATE_LOCATION DEFAULT_SHARE_DIR "/config/openalpr.defaults.conf" + #ifndef DEFAULT_CONFIG_FILE #define DEFAULT_CONFIG_FILE "/etc/openalpr/openalpr.conf" #endif diff --git a/includes/licenseplatecandidate.h b/includes/licenseplatecandidate.h old mode 100755 new mode 100644 index bce39fb..2a48193 --- a/includes/licenseplatecandidate.h +++ b/includes/licenseplatecandidate.h @@ -32,7 +32,6 @@ #include "edges/platelines.h" #include "transformation.h" #include "textdetection/characteranalysis.h" -#include "segmentation/charactersegmenter.h" #include "edges/platecorners.h" #include "config.h" #include "pipeline_data.h" @@ -55,7 +54,6 @@ namespace alpr PipelineData* pipeline_data; Config* config; - CharacterSegmenter* charSegmenter; cv::Mat filterByCharacterHue(std::vector > charRegionContours); std::vector findPlateCorners(cv::Mat inputImage, PlateLines plateLines, CharacterAnalysis textAnalysis); // top-left, top-right, bottom-right, bottom-left diff --git a/includes/motiondetector.h b/includes/motiondetector.h old mode 100755 new mode 100644 diff --git a/includes/ocr.h b/includes/ocr.h old mode 100755 new mode 100644 index a69ca33..be53b66 --- a/includes/ocr.h +++ b/includes/ocr.h @@ -18,44 +18,37 @@ */ #ifndef OPENALPR_OCR_H -#define OPENALPR_OCR_H +#define OPENALPR_OCR_H -#include -#include - -#include "utility.h" #include "postprocess/postprocess.h" -#include "config.h" #include "pipeline_data.h" -#include "constants.h" -#include "opencv2/imgproc/imgproc.hpp" -#include "support/filesystem.h" -#include "support/version.h" - -#include "tesseract/baseapi.h" - namespace alpr { - - class OCR + struct OcrChar { + std::string letter; + int char_index; + float confidence; + }; + + class OCR { + public: + OCR(Config* config); + virtual ~OCR(); - public: - OCR(Config* config); - virtual ~OCR(); - - void performOCR(PipelineData* pipeline_data); - - PostProcess postProcessor; + void performOCR(PipelineData* pipeline_data); - private: - Config* config; + PostProcess postProcessor; - tesseract::TessBaseAPI tesseract; + protected: + virtual std::vector recognize_line(int line_index, PipelineData* pipeline_data)=0; + virtual void segment(PipelineData* pipeline_data)=0; + + Config* config; }; - } -#endif // OPENALPR_OCR_H +#endif /* OPENALPR_OCR_H */ + diff --git a/includes/prewarp.h b/includes/prewarp.h old mode 100755 new mode 100644 index 1d298ff..4539c5c --- a/includes/prewarp.h +++ b/includes/prewarp.h @@ -24,7 +24,7 @@ #include "config.h" #include "utility.h" #include "opencv2/imgproc/imgproc.hpp" -#include "detection/detector.h" +#include "detection/detector_types.h" namespace alpr { @@ -34,20 +34,29 @@ namespace alpr PreWarp(Config* config); virtual ~PreWarp(); + void initialize(std::string prewarp_config); + void clear(); + cv::Mat warpImage(cv::Mat image); std::vector projectPoints(std::vector points, bool inverse); std::vector projectRects(std::vector rects, int maxWidth, int maxHeight, bool inverse); + cv::Rect projectRect(cv::Rect rect, int maxWidth, int maxHeight, bool inverse); void projectPlateRegions(std::vector& plateRegions, int maxWidth, int maxHeight, bool inverse); + void setTransform(float w, float h, float rotationx, float rotationy, float rotationz, float panX, float panY, float stretchX, float dist); + bool valid; + std::string toString(); + private: Config* config; cv::Mat transform; + cv::Mat getTransform(float w, float h, float rotationx, float rotationy, float rotationz, float panX, float panY, float stretchX, float dist); + float w, h, rotationx, rotationy, rotationz, stretchX, dist, panX, panY; - cv::Mat findTransform(float w, float h, float rotationx, float rotationy, float rotationz, float panX, float panY, float stretchX, float dist); }; } diff --git a/includes/result_aggregator.h b/includes/result_aggregator.h old mode 100755 new mode 100644 index 837cd1f..1026134 --- a/includes/result_aggregator.h +++ b/includes/result_aggregator.h @@ -22,7 +22,7 @@ #include "alpr_impl.h" - +#include "prewarp.h" // Runs the analysis for multiple training sets, and aggregates the results into the best matches @@ -37,10 +37,30 @@ struct PlateShapeInfo namespace alpr { + enum ResultMergeStrategy + { + MERGE_COMBINE, // Used when running an analysis multiple times for accuracy improvement. Merges results together + MERGE_PICK_BEST // Used when analyzing multiple countries. Chooses results from one country or the other + }; + + struct ResultPlateScore + { + AlprPlate plate; + float score_total; + int count; + }; + + struct ResultRegionScore + { + std::string region; + float confidence; + + }; + class ResultAggregator { public: - ResultAggregator(); + ResultAggregator(ResultMergeStrategy merge_strategy, int topn, Config* config); virtual ~ResultAggregator(); @@ -48,11 +68,22 @@ namespace alpr AlprFullDetails getAggregateResults(); + cv::Mat applyImperceptibleChange(cv::Mat image, int index); + private: + + int topn; + PreWarp* prewarp; + Config* config; + std::vector all_results; PlateShapeInfo getShapeInfo(AlprPlateResult plate); + ResultMergeStrategy merge_strategy; + + ResultRegionScore findBestRegion(std::vector cluster); + std::vector > findClusters(); int overlaps(AlprPlateResult plate, std::vector > clusters); }; diff --git a/includes/transformation.h b/includes/transformation.h old mode 100755 new mode 100644 diff --git a/includes/utility.h b/includes/utility.h old mode 100755 new mode 100644 index a94a9ac..000752e --- a/includes/utility.h +++ b/includes/utility.h @@ -103,6 +103,11 @@ namespace alpr cv::Mat addLabel(cv::Mat input, std::string label); + // Given 4 random points (Point2f array), order them as top-left, top-right, bottom-right, bottom-left + // Useful for orienting a rotatedrect + std::vector sortPolygonPoints(cv::Point2f* polygon_points, cv::Size surrounding_image); + cv::Point findClosestPoint(cv::Point2f* polygon_points, int num_points, cv::Point position); + int levenshteinDistance (const std::string &s1, const std::string &s2, int max); std::string toString(int value); std::string toString(long value); @@ -110,6 +115,8 @@ namespace alpr std::string toString(float value); std::string toString(double value); + std::string replaceAll(std::string str, const std::string& from, const std::string& to); + std::string <rim(std::string &s); std::string &rtrim(std::string &s); std::string &trim(std::string &s); diff --git a/openalpr_runtime/cameras.yaml b/openalpr_runtime/cameras.yaml new file mode 100644 index 0000000..8066590 --- /dev/null +++ b/openalpr_runtime/cameras.yaml @@ -0,0 +1,238 @@ +--- +version: 1 +manufacturers: + A-Linking: + mjpeg: + - "http://[username]:[password]@[ip_address]/GetData.cgi" + Airlink: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + - "http://[username]:[password]@[ip_address]/cgi/mjpg/mjpeg.cgi" + - "http://[username]:[password]@[ip_address]/cgi/jpg/image.cgi" + Airlive: + mjpeg: + - "http://[username]:[password]@[ip_address]/video.mjpg" + - "http://[username]:[password]@[ip_address]/mjpg/video.mjpg" + Airwave: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/pusher.cgi" + Arecont: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg?res=full&x0=0&y0=0&x1=100%&y1=100%&quality=12&doublescan=0&fps=15&ver=HTTP/1.1" + - "http://[username]:[password]@[ip_address]/image?res=half&x0=0&y0=0&x1=1600&y1=1200&quality=15&doublescan=0" + Avigilon: + mjpeg: + - "http://[username]:[password]@[ip_address]/media/still.jpg" + h264: + - "rtsp://[username]:[password]@[ip_address]/defaultPrimary?streamType=u" + Aviosys: + mjpeg: + - "http://[username]:[password]@[ip_address]/GetData.cgi" + - "http://[username]:[password]@[ip_address]/cgi-bin/Stream?Video?Authorization=" + Axis: + mjpeg: + - "http://[username]:[password]@[ip_address]/axis-cgi/mjpg/video.cgi?fps=15" + h264: + - "rtsp://[username]:[password]@[ip_address]/axis-media/media.amp" + - "rtsp://[username]:[password]@[ip_address]/mpeg4/media.amp" + Bosch: + mjpeg: + - "http://[username]:[password]@[ip_address]/rtsp_tunnel?h26x=4&line=1&inst=2" + h264: + - "rtsp://[username]:[password]@[ip_address]/rtsp_tunnel" + Bowya: + mjpeg: + - "http://[username]:[password]@[ip_address]/video.cgi" + Canon: + mjpeg: + - "http://[username]:[password]@[ip_address]/-wvhttp-01-/" + - "http://[username]:[password]@[ip_address]/-wvhttp-01-/GetOneShot" + - "http://[username]:[password]@[ip_address]/-wvhttp-01-/GetOneShot?frame_count=no_limit" + - "http://[username]:[password]@[ip_address]/-wvhttp-01-/GetStillImage" + Cisco: + h264: + - "rtsp://[username]:[password]@[ip_address]/" + Convision: + mjpeg: + - "http://[username]:[password]@[ip_address]/fullsize.push?camera=1&sleep=15" + CNB: + h264: + - "rtsp://[username]:[password]@[ip_address]/" + Dahua: + h264: + - "rtsp://[username]:[password]@[ip_address]:554/cam/realmonitor?channel=1&subtype=1" + D-Link: + mjpeg: + - "http://[username]:[password]@[ip_address]/video/mjpg.cgi" + - "http://[username]:[password]@[ip_address]/video.cgi" + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + - "http://[username]:[password]@[ip_address]/cgi-bin/video.jpg" + - "http://[username]:[password]@[ip_address]/IMAGE.jpg" + - "http://[username]:[password]@[ip_address]/cgi-bin/video.vam" + - "http://[username]:[password]@[ip_address]/_gCVimage.jpg" + Digicom: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + Easyn: + mjpeg: + - "http://[username]:[password]@[ip_address]/videostream.cgi?user=username&pwd=password" + Edimax: + mjpeg: + - "http://[username]:[password]@[ip_address]/jpg/image.jpg" + - "http://[username]:[password]@[ip_address]/mjpg/video.mjpg" + - "http://[username]:[password]@[ip_address]/snapshot.cgi" + Ego: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/sf.cgi" + Foscam: + mjpeg: + - "http://[username]:[password]@[ip_address]/videostream.cgi" + - "http://[username]:[password]@[ip_address]/snapshot.cgi" + Fulicom: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/sf.cgi" + Gadspot: + mjpeg: + - "http://[username]:[password]@[ip_address]/Jpeg/CamImg.jpg" + - "http://[username]:[password]@[ip_address]/GetData.cgi?Status=0" + Goscam: + mjpeg: + - "http://[ip_address]/cgi-bin/Stream?Video?Acc=[username]?Pwd=[password]?webcamPWD=RootCookies00000" + Hamlet: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + Hikvision: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/video.jpg?cam=1&quality=3&size=2" + h264: + - "rtsp://[username]:[password]@[ip_address]/h264/ch1/sub/" + - "rtsp://[username]:[password]@[ip_address]:554/Streaming/Channels/1" + - "rtsp://[username]:[password]@[ip_address]:554/ch0_0.h264" + IQeye: + mjpeg: + - "http://[username]:[password]@[ip_address]/now.jpg?snap=spush" + h264: + - "rtsp://[username]:[password]@[ip_address]/stream1" + - "rtsp://[username]:[password]@[ip_address]/now.mp4&res=high" + Intellinet: + mjpeg: + - "http://[username]:[password]@[ip_address]/jpg/image.jpg" + JVC: + mjpeg: + - "http://[username]:[password]@[ip_address]/api/video?encode=jpeg&framerate=15&boundary=on" + Kingnow: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/sf.cgi" + Linksys: + mjpeg: + - "http://[username]:[password]@[ip_address]/img/video.mjpeg" + - "http://[username]:[password]@[ip_address]/img/mjpeg.cgi" + - "http://[username]:[password]@[ip_address]/img/snapshot.cgi?size=2" + - "http://[username]:[password]@[ip_address]/adm/file.cgi?h_videotype=mjpeg&todo=save" + Linudix: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/nph-update_4ch.cgi?ch=1" + Lumenera: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/nph-video" + Lumens: + h264: + - "rtsp://[username]:[password]@[ip_address]:8557/h264" + Marmitek: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi/mjpg/mjpeg.cgi" + Mobotix: + mjpeg: + - "http://[username]:[password]@[ip_address]/record/current.jpg" + - "http://[username]:[password]@[ip_address]/control/faststream.jpg?stream=full" + - "http://[username]:[password]@[ip_address]/faststream.jpg?stream=full&fps=1.0 (1 fps)" + - "http://[username]:[password]@[ip_address]/faststream.jpg?stream=full&fps=3.0 (1 fps)" + - "http://[username]:[password]@[ip_address]/faststream.jpg?stream=full&fps=0 (max frame rate)" + Moxa: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/video.jpg" + PLANET: + mjpeg: + - "http://[username]:[password]@[ip_address]/jpg/image.jpg" + Panasonic: + mjpeg: + - "http://[username]:[password]@[ip_address]/nphMotionJpeg?Resolution=640x480&Quality=Clarity" + - "http://[username]:[password]@[ip_address]/cgi-bin/nphContinuousServerPush" + - "http://[username]:[password]@[ip_address]/SnapshotJPEG?mode=Refresh" + - "http://[username]:[password]@[ip_address]/cgi-bin/camera" + h264: + - "rtsp://[username]:[password]@[ip_address]/MediaInput/h264/stream_1" + Pixord: + mjpeg: + - "http://[username]:[password]@[ip_address]/Getimage.cgi" + - "http://[username]:[password]@[ip_address]/Getimage?camera=1&fmt=full" + - "http://[username]:[password]@[ip_address]/Getimage?camera=1&fmt=qsif" + Qnap: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi/mjpg/mjpeg.cgi" + Samsung: + mjpeg: + - "http://[username]:[password]@[ip_address]/video?submenu=mjpg" + - "http://[username]:[password]@[ip_address]/video?submenu=jpg" + h264: + - "rtsp://[ip_address]/profile1/media.smp" + Sanyo: + mjpeg: + - "http://[username]:[password]@[ip_address]/liveimg.cgi?serverpush=1" + Sharkx: + mjpeg: + - "http://[username]:[password]@[ip_address]/stream.jpg" + Shenzen_Sunsky: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/sf.cgi" + Skyway_Security: + mjpeg: + - "http://[username]:[password]@[ip_address]/GetData.cgi?Status=0" + - "http://[username]:[password]@[ip_address]/Jpeg/CamImg.jpg" + Sony: + mjpeg: + - "http://[username]:[password]@[ip_address]/image" + - "http://[username]:[password]@[ip_address]/image?speed=0" + - "http://[username]:[password]@[ip_address]/oneshotimage.jpg" + h264: + - "rtsp://[username]:[password]@[ip_address]/media/video1" + Surecom: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + Swann: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi/jpg/image.cgi" + TP-Link: + mjpeg: + - "http://[username]:[password]@[ip_address]/jpg/image.jpg" + - "http://[username]:[password]@[ip_address]/video.mjpg" + Topcom: + mjpeg: + - "http://[username]:[password]@[ip_address]/mjpeg.cgi" + Toshiba: + mjpeg: + - "http://[username]:[password]@[ip_address]/__live.jpg?&&&" + - "http://[username]:[password]@[ip_address]getstream.cgi?10&10&&&10&0&0&0&0" + Trendnet: + mjpeg: + - "http://[username]:[password]@[ip_address]/goform/video" + - "http://[username]:[password]@[ip_address]/goform/video2" + - "http://[username]:[password]@[ip_address]/cgi/mjpg/mjpg.cgi" + - "http://[username]:[password]@[ip_address]/GetData.cgi" + - "http://[username]:[password]@[ip_address]/image.jpg" + Vilar: + mjpeg: + - "http://[username]:[password]@[ip_address]/cgi-bin/sf.cgi" + Vivotek: + mjpeg: + - "http://[username]:[password]@[ip_address]/video.mjpg" + - "http://[username]:[password]@[ip_address]/cgi-bin/video.jpg" + - "http://[username]:[password]@[ip_address]/cgi-bin/viewer/video.jpg" + h264: + - "rtsp://[username]:[password]@[ip_address]/live.sdp" + Y-Cam: + mjpeg: + - "http://[username]:[password]@[ip_address]/stream.jpg" + Zavio: + mjpeg: + - "http://[username]:[password]@[ip_address]/jpg/image.jpg" diff --git a/openalpr_runtime/config/au.conf b/openalpr_runtime/config/au.conf index d3fd4a9..db6c071 100644 --- a/openalpr_runtime/config/au.conf +++ b/openalpr_runtime/config/au.conf @@ -4,6 +4,7 @@ char_analysis_height_range = 0.15 char_analysis_height_step_size = 0.10 char_analysis_height_num_steps = 5 +segmentation_min_speckle_height_percent = 0.3 segmentation_min_box_width_px = 4 segmentation_min_charheight_percent = 0.4; segmentation_max_segment_width_percent_vs_average = 1.6; @@ -29,8 +30,17 @@ plateline_sensitivity_horizontal = 50 min_plate_size_width_px = 85 min_plate_size_height_px = 28 +; Results with fewer or more characters will be discarded +postprocess_min_characters = 4 +postprocess_max_characters = 8 + ocr_language = lau ; Override for postprocess letters/numbers regex. postprocess_regex_letters = [A-Z] -postprocess_regex_numbers = [0-9] \ No newline at end of file +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/auwide.conf b/openalpr_runtime/config/auwide.conf index 490e7b3..4f7c30d 100644 --- a/openalpr_runtime/config/auwide.conf +++ b/openalpr_runtime/config/auwide.conf @@ -30,8 +30,19 @@ plateline_sensitivity_horizontal = 55 min_plate_size_width_px = 100 min_plate_size_height_px = 20 +; Results with fewer or more characters will be discarded +postprocess_min_characters = 4 +postprocess_max_characters = 8 + +detector_file = eu.xml + ocr_language = lau ; Override for postprocess letters/numbers regex. postprocess_regex_letters = [A-Z] -postprocess_regex_numbers = [0-9] \ No newline at end of file +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/br.conf b/openalpr_runtime/config/br.conf new file mode 100644 index 0000000..0e1c42e --- /dev/null +++ b/openalpr_runtime/config/br.conf @@ -0,0 +1,46 @@ +; 35-50; 45-60, 55-70, 65-80, 75-90 +char_analysis_min_pct = 0.35 +char_analysis_height_range = 0.15 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 5 + +segmentation_min_speckle_height_percent = 0.4 +segmentation_min_box_width_px = 2 +segmentation_min_charheight_percent = 0.4; +segmentation_max_segment_width_percent_vs_average = 2.0; + +plate_width_mm = 400 +plate_height_mm = 130 + +multiline = 0 + +char_height_mm = 70 +char_width_mm = 50 +char_whitespace_top_mm = 45 +char_whitespace_bot_mm = 20 + +template_max_width_px = 150 +template_max_height_px = 49 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 18 +plateline_sensitivity_horizontal = 55 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 65 +min_plate_size_height_px = 21 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 7 +postprocess_max_characters = 7 + +ocr_language = lbr + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto diff --git a/openalpr_runtime/config/br2.conf b/openalpr_runtime/config/br2.conf new file mode 100644 index 0000000..9896732 --- /dev/null +++ b/openalpr_runtime/config/br2.conf @@ -0,0 +1,30 @@ +char_analysis_min_pct =0.15 +char_analysis_height_range =0.30 +char_analysis_height_step_size =0.20 +char_analysis_height_num_steps =6 +segmentation_min_box_width_px =6 +segmentation_min_charheight_percent =0.4; +segmentation_max_segment_width_percent_vs_average =2.0; +plate_width_mm =200 +plate_height_mm =170 +multiline =1 +char_height_mm =53 +char_width_mm =29 +char_height_mm =53 +char_width_mm =29 +char_whitespace_top_mm =10 +char_whitespace_bot_mm =10 +char_whitespace_between_lines_mm =10 +template_max_width_px =118 +template_max_height_px =100 +plateline_sensitivity_vertical =50 +plateline_sensitivity_horizontal =50 +min_plate_size_width_px =59 +min_plate_size_height_px =50 +postprocess_min_characters =5 +postprocess_max_characters =7 +detector_file =br2.xml +ocr_language =lbr +postprocess_regex_letters =[A-Z] +postprocess_regex_numbers =[0-9] +invert =auto diff --git a/openalpr_runtime/config/eu.conf b/openalpr_runtime/config/eu.conf index b3d3f69..1f8e693 100644 --- a/openalpr_runtime/config/eu.conf +++ b/openalpr_runtime/config/eu.conf @@ -6,6 +6,7 @@ char_analysis_height_range = 0.15 char_analysis_height_step_size = 0.10 char_analysis_height_num_steps = 5 +segmentation_min_speckle_height_percent = 0.2 segmentation_min_box_width_px = 5 segmentation_min_charheight_percent = 0.4; segmentation_max_segment_width_percent_vs_average = 2.0; @@ -31,8 +32,17 @@ plateline_sensitivity_horizontal = 55 min_plate_size_width_px = 65 min_plate_size_height_px = 18 +; Results with fewer or more characters will be discarded +postprocess_min_characters = 5 +postprocess_max_characters = 8 + ocr_language = leu ; Override for postprocess letters/numbers regex. postprocess_regex_letters = [A-Z] -postprocess_regex_numbers = [0-9] \ No newline at end of file +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/fr.conf b/openalpr_runtime/config/fr.conf new file mode 100644 index 0000000..62cc679 --- /dev/null +++ b/openalpr_runtime/config/fr.conf @@ -0,0 +1,50 @@ +; One-line European style plates + +; 35-50; 45-60, 55-70, 65-80, 75-90 +char_analysis_min_pct = 0.35 +char_analysis_height_range = 0.15 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 5 + +segmentation_min_speckle_height_percent = 0.2 +segmentation_min_box_width_px = 5 +segmentation_min_charheight_percent = 0.4; +segmentation_max_segment_width_percent_vs_average = 2.0; + +plate_width_mm = 520 +plate_height_mm = 110 + +multiline = 0 + +char_height_mm = 80 +char_width_mm = 53 +char_whitespace_top_mm = 10 +char_whitespace_bot_mm = 10 + +template_max_width_px = 184 +template_max_height_px = 46 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 18 +plateline_sensitivity_horizontal = 55 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 65 +min_plate_size_height_px = 18 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 5 +postprocess_max_characters = 8 + +detector_file = eu.xml + +ocr_language = lfr + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto diff --git a/openalpr_runtime/config/gb.conf b/openalpr_runtime/config/gb.conf new file mode 100644 index 0000000..460a10d --- /dev/null +++ b/openalpr_runtime/config/gb.conf @@ -0,0 +1,50 @@ +; One-line European style plates + +; 35-50; 45-60, 55-70, 65-80, 75-90 +char_analysis_min_pct = 0.35 +char_analysis_height_range = 0.15 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 5 + +segmentation_min_speckle_height_percent = 0.2 +segmentation_min_box_width_px = 5 +segmentation_min_charheight_percent = 0.4; +segmentation_max_segment_width_percent_vs_average = 2.0; + +plate_width_mm = 520 +plate_height_mm = 110 + +multiline = 0 + +char_height_mm = 80 +char_width_mm = 53 +char_whitespace_top_mm = 10 +char_whitespace_bot_mm = 10 + +template_max_width_px = 184 +template_max_height_px = 46 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 18 +plateline_sensitivity_horizontal = 55 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 65 +min_plate_size_height_px = 18 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 5 +postprocess_max_characters = 8 + +detector_file = eu.xml + +ocr_language = lgb + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto diff --git a/openalpr_runtime/config/in.conf b/openalpr_runtime/config/in.conf new file mode 100644 index 0000000..e0fee2f --- /dev/null +++ b/openalpr_runtime/config/in.conf @@ -0,0 +1,45 @@ +; 30-50, 40-60, 50-70, 60-80 +char_analysis_min_pct = 0.30 +char_analysis_height_range = 0.20 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 4 + +segmentation_min_speckle_height_percent = 0.3 +segmentation_min_box_width_px = 4 +segmentation_min_charheight_percent = 0.5; +segmentation_max_segment_width_percent_vs_average = 1.35; + +plate_width_mm = 520 +plate_height_mm = 120 + +multiline = 0 + +char_height_mm = 65 +char_width_mm = 30 +char_whitespace_top_mm = 24 +char_whitespace_bot_mm = 24 + +template_max_width_px = 120 +template_max_height_px = 60 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 25 +plateline_sensitivity_horizontal = 45 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 70 +min_plate_size_height_px = 35 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 4 +postprocess_max_characters = 10 + +ocr_language = lin + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/kr.conf b/openalpr_runtime/config/kr.conf index e0ca45f..eff5f1d 100644 --- a/openalpr_runtime/config/kr.conf +++ b/openalpr_runtime/config/kr.conf @@ -5,9 +5,10 @@ char_analysis_height_range = 0.15 char_analysis_height_step_size = 0.10 char_analysis_height_num_steps = 5 +segmentation_min_speckle_height_percent = 0.15 segmentation_min_box_width_px = 4 -segmentation_min_charheight_percent = 0.4; -segmentation_max_segment_width_percent_vs_average = 2.0; +segmentation_min_charheight_percent = 0.2 +segmentation_max_segment_width_percent_vs_average = 2.0 plate_width_mm = 520 plate_height_mm = 110 @@ -30,8 +31,18 @@ plateline_sensitivity_horizontal = 55 min_plate_size_width_px = 100 min_plate_size_height_px = 20 +; Results with fewer or more characters will be discarded +postprocess_min_characters = 7 +postprocess_max_characters = 7 + +detector_file = eu.xml + ocr_language = lkr ; Override for postprocess letters/numbers regex. postprocess_regex_letters = \pL -postprocess_regex_numbers = \pN +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/kr2.conf b/openalpr_runtime/config/kr2.conf new file mode 100755 index 0000000..51e7241 --- /dev/null +++ b/openalpr_runtime/config/kr2.conf @@ -0,0 +1,51 @@ +; 30-50, 40-60, 50-70, 60-80 +char_analysis_min_pct = 0.30 +char_analysis_height_range = 0.20 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 5 + +segmentation_min_speckle_height_percent = 0.15 +segmentation_min_box_width_px = 5 +segmentation_min_charheight_percent = 0.2 ;0.5; +segmentation_max_segment_width_percent_vs_average = 1.65 ;1.35; + +plate_width_mm = 335 +plate_height_mm = 170 + +multiline = 1 + +char_height_mm = 48 +char_width_mm = 38 + +char_height_mm = 92 +char_width_mm = 62 + +char_whitespace_top_mm = 5 +char_whitespace_bot_mm = 5 + +char_whitespace_between_lines_mm = 13 + +template_max_width_px = 258 +template_max_height_px = 131 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 55 ;25 +plateline_sensitivity_horizontal = 85 ;45 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 100 ;70 +min_plate_size_height_px = 50 ;35 + +; Results with fewer characters will be discarded +postprocess_min_characters = 7 +postprocess_max_characters = 9 + +ocr_language = lkr + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = \pL +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = always \ No newline at end of file diff --git a/openalpr_runtime/config/mx.conf b/openalpr_runtime/config/mx.conf new file mode 100644 index 0000000..c0dc035 --- /dev/null +++ b/openalpr_runtime/config/mx.conf @@ -0,0 +1,47 @@ +; 30-50, 40-60, 50-70, 60-80 +char_analysis_min_pct = 0.30 +char_analysis_height_range = 0.20 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 4 + +segmentation_min_speckle_height_percent = 0.3 +segmentation_min_box_width_px = 4 +segmentation_min_charheight_percent = 0.5; +segmentation_max_segment_width_percent_vs_average = 1.35; + +plate_width_mm = 304.8 +plate_height_mm = 152.4 + +multiline = 0 + +char_height_mm = 70 +char_width_mm = 35 +char_whitespace_top_mm = 38 +char_whitespace_bot_mm = 38 + +template_max_width_px = 120 +template_max_height_px = 60 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 25 +plateline_sensitivity_horizontal = 45 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 70 +min_plate_size_height_px = 35 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 5 +postprocess_max_characters = 7 + +detector_file = us.xml + +ocr_language = lus + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto diff --git a/openalpr_runtime/config/sg.conf b/openalpr_runtime/config/sg.conf new file mode 100644 index 0000000..4feebe8 --- /dev/null +++ b/openalpr_runtime/config/sg.conf @@ -0,0 +1,45 @@ +; One-line European style plates + +; 35-50; 45-60, 55-70, 65-80, 75-90 +char_analysis_min_pct = 0.35 +char_analysis_height_range = 0.15 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 5 + +segmentation_min_box_width_px = 5 +segmentation_min_charheight_percent = 0.4; +segmentation_max_segment_width_percent_vs_average = 2.0; + +plate_width_mm = 520 +plate_height_mm = 110 + +multiline = 0 + +char_height_mm = 70 +char_width_mm = 52 +char_whitespace_top_mm = 10 +char_whitespace_bot_mm = 10 + +template_max_width_px = 226 +template_max_height_px = 48 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 25 +plateline_sensitivity_horizontal = 70 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 65 +min_plate_size_height_px = 18 + +detector_file = eu.xml + +ocr_language = lsg + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-HJ-NP-Z] +postprocess_regex_numbers = [0-9] + + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto diff --git a/openalpr_runtime/config/us.conf b/openalpr_runtime/config/us.conf index c9f8124..19add48 100644 --- a/openalpr_runtime/config/us.conf +++ b/openalpr_runtime/config/us.conf @@ -4,6 +4,7 @@ char_analysis_height_range = 0.20 char_analysis_height_step_size = 0.10 char_analysis_height_num_steps = 4 +segmentation_min_speckle_height_percent = 0.3 segmentation_min_box_width_px = 4 segmentation_min_charheight_percent = 0.5; segmentation_max_segment_width_percent_vs_average = 1.35; @@ -29,8 +30,16 @@ plateline_sensitivity_horizontal = 45 min_plate_size_width_px = 70 min_plate_size_height_px = 35 +; Results with fewer or more characters will be discarded +postprocess_min_characters = 4 +postprocess_max_characters = 8 + ocr_language = lus ; Override for postprocess letters/numbers regex. postprocess_regex_letters = [A-Z] -postprocess_regex_numbers = [0-9] \ No newline at end of file +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/openalpr_runtime/config/vn2.conf b/openalpr_runtime/config/vn2.conf new file mode 100755 index 0000000..222e7b7 --- /dev/null +++ b/openalpr_runtime/config/vn2.conf @@ -0,0 +1,53 @@ +; Two-line Vietnam style plates + +; 35-50; 45-60, 55-70, 65-80, 75-90 +char_analysis_min_pct = 0.05 +char_analysis_height_range = 0.25 +char_analysis_height_step_size = 0.05 +char_analysis_height_num_steps = 6 + +;segmentation_min_speckle_height_percent = 0.15 +segmentation_min_box_width_px = 5 +segmentation_min_charheight_percent = 0.1 +segmentation_max_segment_width_percent_vs_average = 2.0 + +plate_width_mm = 287 +plate_height_mm = 209 + +multiline = 1 + +char_height_mm = 80 +char_width_mm = 40 +char_height_mm = 80 +char_width_mm = 40 + + +char_whitespace_top_mm = 13 +char_whitespace_bot_mm = 13 + +char_whitespace_between_lines_mm = 13 + +template_max_width_px = 287 +template_max_height_px = 209 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 100 +plateline_sensitivity_horizontal = 80 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 60 +min_plate_size_height_px = 45 + +detector_file = vn2.xml + +ocr_language = leu + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto + + diff --git a/openalpr_runtime/ocr/tessdata/lau.traineddata b/openalpr_runtime/ocr/tessdata/lau.traineddata index 6d4a7e5..d4eea99 100644 Binary files a/openalpr_runtime/ocr/tessdata/lau.traineddata and b/openalpr_runtime/ocr/tessdata/lau.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lbr.traineddata b/openalpr_runtime/ocr/tessdata/lbr.traineddata new file mode 100644 index 0000000..f9b67b1 Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lbr.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/leu.traineddata b/openalpr_runtime/ocr/tessdata/leu.traineddata index 78d159f..c8e931a 100644 Binary files a/openalpr_runtime/ocr/tessdata/leu.traineddata and b/openalpr_runtime/ocr/tessdata/leu.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lfr.traineddata b/openalpr_runtime/ocr/tessdata/lfr.traineddata new file mode 100644 index 0000000..1ef6bf7 Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lfr.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lgb.traineddata b/openalpr_runtime/ocr/tessdata/lgb.traineddata new file mode 100644 index 0000000..474376a Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lgb.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lin.traineddata b/openalpr_runtime/ocr/tessdata/lin.traineddata new file mode 100644 index 0000000..bb11eae Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lin.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lkr.traineddata b/openalpr_runtime/ocr/tessdata/lkr.traineddata index 75f4781..62ef8b6 100644 Binary files a/openalpr_runtime/ocr/tessdata/lkr.traineddata and b/openalpr_runtime/ocr/tessdata/lkr.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lkr2.traineddata b/openalpr_runtime/ocr/tessdata/lkr2.traineddata new file mode 100644 index 0000000..ca196d1 Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lkr2.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lsg.traineddata b/openalpr_runtime/ocr/tessdata/lsg.traineddata new file mode 100644 index 0000000..e354ae2 Binary files /dev/null and b/openalpr_runtime/ocr/tessdata/lsg.traineddata differ diff --git a/openalpr_runtime/ocr/tessdata/lus.traineddata b/openalpr_runtime/ocr/tessdata/lus.traineddata index f6e90a8..1e49524 100644 Binary files a/openalpr_runtime/ocr/tessdata/lus.traineddata and b/openalpr_runtime/ocr/tessdata/lus.traineddata differ diff --git a/openalpr_runtime/postprocess/br.patterns b/openalpr_runtime/postprocess/br.patterns new file mode 100644 index 0000000..92e9463 --- /dev/null +++ b/openalpr_runtime/postprocess/br.patterns @@ -0,0 +1 @@ +br @@@#### diff --git a/openalpr_runtime/postprocess/eu.patterns b/openalpr_runtime/postprocess/eu.patterns index b528f21..82c07fe 100644 --- a/openalpr_runtime/postprocess/eu.patterns +++ b/openalpr_runtime/postprocess/eu.patterns @@ -1,9 +1,12 @@ -al @@###@@ ad @#### + +al @@###@@ + am ###@@### am ##@@### am ###@@## am ##@@## + at @@??? at @@???? at @@????? @@ -12,30 +15,84 @@ at @??? at @???? at @????? at @?????? + az ##@@### -by ####@@# + +ba [AEJKMOT]##[AEJKMOT]### +ba [T][A]###### +ba [T][T]###### +ba ######[AEJKT] + be #@@@### be ###@@@ -ba @##@### -ba [T][X]###### + bg @@####@@ bg @####@@ -hr @@###@@ -hr @@####@@ -hr @@###@ -hr @@####@ + +by ####@@# + +ch @@###### +ch @@##### +ch @@#### +ch @@### +ch @@## +ch @@# +ch [APM]###### +ch [APM]##### +ch [APM]#### +ch [APM]### +ch [APM]## +ch [APM]# + cy @@@### + cz #@##### cz #@@#### + +de @@@@#### +de @@@@### +de @@@@## +de @@@@# +de @@@#### +de @@@### +de @@@## +de @@@# +de @@@@####[HE] +de @@@@###[HE] +de @@@@##[HE] +de @@@####[HE] +de @@@###[HE] +de @@@##[HE] +de @@@#[HE] + dk @@##### + ee ###@@@ + +es ####@@@ +es @####@@@ + fi @@@### + fr @@###@@ +fr ###@@@## +fr ####@@## + +gb @@##@@@ + ge @@###@@ + gi [G]####@ + gr @@@#### + +hr @@###@@ +hr @@####@@ +hr @@###@ +hr @@####@ + hu @@@### -is @@@## + ie ##[12][CDGLTW]###### ie ##[12][CDGKLMORSTW][DEHKLMNOSWXY]###### ie ##[12][CDGLTW]##### @@ -52,27 +109,40 @@ ie ##[CDGLTW]#### ie ##[CDGKLMORSTW][DEHKLMNOSWXY]#### ie ##[CDGLTW]### ie ##[CDGKLMORSTW][DEHKLMNOSWXY]### + +is @@@## + it @@###@@ + kz ###@@@ -lv @@#### -lv @@### -lv @#### -lv @### + li @@##### li @@#### li @@### + lt @@@### + lu @@#### -mk @@####@@ -mt @@@### + +lv @@#### +lv @@### +lv @#### +lv @### + +mc ???? + md @@@@### md [CK]@@### md @@@@## md [CK]@@## md @@@@# md [CK]@@# -mc ???? + me @@@@### + +mk @@####@@ +mt @@@### + nl @@#### nl ####@@ nl ##@@## @@ -87,8 +157,10 @@ nl @@@##@ nl @##@@@ nl #@@### nl ###@@# + no @@##### no ##### + pl @@##### pl @@####@ pl @@###@@ @@ -103,34 +175,36 @@ pl @@@@@## pl @@@##### pl @@@####@ pl @@@###@@ + pt @@#### pt ####@@ pt ##@@## -pt @@##@@ -pt @@@@## -pt ##@@@@ -ro @@###@@@ + ro @@##@@@ -ro @###@@@ -ro @##@@@ +ro [B]###@@@ +ro [B]##@@@ + +rs @@###@@ + ru @###@@## ru @###@@### + +se @@@### + +si @@@@### + +sk @@###@@ + sm @#### sm @### -rs @@###@@ -sk @@###@@ -si @@@@### -es ####@@@ -es @####@@@ -se @@@### -ch @@###### -ch [APM]###### + tr ##@#### tr ##@##### tr ##@@### tr ##@@#### tr ##@@@## + ua @@####@@ -gb @@##@@@ + va [S][C][V]##### va [C][V]##### diff --git a/openalpr_runtime/postprocess/gb.patterns b/openalpr_runtime/postprocess/gb.patterns new file mode 100644 index 0000000..0f1dd4d --- /dev/null +++ b/openalpr_runtime/postprocess/gb.patterns @@ -0,0 +1 @@ +gb @@##@@@ diff --git a/openalpr_runtime/postprocess/mx.patterns b/openalpr_runtime/postprocess/mx.patterns new file mode 100644 index 0000000..5b0091e --- /dev/null +++ b/openalpr_runtime/postprocess/mx.patterns @@ -0,0 +1,5 @@ +mx @@@#### +mx @##@@@ +mx @@@###@ +mx @@##### +mx ####@@ diff --git a/openalpr_runtime/postprocess/sg.patterns b/openalpr_runtime/postprocess/sg.patterns new file mode 100644 index 0000000..a4841f6 --- /dev/null +++ b/openalpr_runtime/postprocess/sg.patterns @@ -0,0 +1 @@ +sg @[A-HJ-NP-Z][A-HJ-NP-Z]####[A-EGHJ-MPR-UX-Z] diff --git a/openalpr_runtime/postprocess/us.patterns b/openalpr_runtime/postprocess/us.patterns index 45f1caf..510a295 100644 --- a/openalpr_runtime/postprocess/us.patterns +++ b/openalpr_runtime/postprocess/us.patterns @@ -1,6 +1,8 @@ base @@@#### base @@@### base ###@@@ +al #@@#### +al ##@@### al #@##@## al ##@##@# al @@##### @@ -11,7 +13,6 @@ al ##@#@#@ ak @@@### as #### az @@@#### -az ?@@@#### az ###@@@ ar ###@@@ ar @@@### @@ -43,12 +44,12 @@ fl ###[H-Y]@@ fl @###@@ fl @##@@@ fl @###@@ -fl @@@?@## -fl ###?#[GH]@ -fl ###?[H-Y]@@ -fl @##?#@@ -fl @##?@@@ -fl @##?#@@ +fl @@@@## +fl ####[GH]@ +fl ###[H-Y]@@ +fl @###@@ +fl @##@@@ +fl @###@@ ga @@@#### ga ####@@@ ga ####@@ @@ -101,7 +102,6 @@ me ##@@ me ###@@@ ms @@@@@# ms @@@### -ms @@@?### ms ##[W]## md #@@@## md #[AB]#### @@ -162,8 +162,6 @@ oh @@##@@ ok ###@@@ or ###@@@ or @@@### -or ###?@@@ -or @@@?### pa @@@#### pr @@@### ri @@### @@ -182,15 +180,9 @@ tx ###@@@ tx @@@### tx @@#@### ut @###@@ -ut @###@@ ut ###@# ut ###@@@ ut @@@### -ut @##?#@@ -ut @##?#@@ -ut ###?@# -ut ###?@@@ -ut @@@?### vt @@@### vt ###@### vt ##[B]## @@ -203,6 +195,7 @@ va ####@@ va #####[JY] wa ###@@@ wa @@@#### +wa @#####@ wi ###@@@ wi @@@### wv [1-9DON]@@### diff --git a/openalpr_runtime/region/br.xml b/openalpr_runtime/region/br.xml new file mode 100644 index 0000000..0bc30c5 --- /dev/null +++ b/openalpr_runtime/region/br.xml @@ -0,0 +1,1857 @@ + + + + BOOST + LBP + 13 + 40 + + GAB + 9.9500000476837158e-001 + 4.4999998807907104e-001 + 9.4999999999999996e-001 + 1 + 100 + + 256 + 1 + 18 + + + <_> + 5 + -2.2059321403503418e+000 + + <_> + + 0 -1 85 1561351388 -33728004 -537332225 -2158083 -1665606402 + -4261126 -1197948929 -1079371380 + + -8.2558047771453857e-001 6.4892250299453735e-001 + <_> + + 0 -1 28 352326908 -4710940 -1124549123 -1076226996 + -1095180802 -500483 -1145372673 -1146483474 + + -7.1161091327667236e-001 5.5507826805114746e-001 + <_> + + 0 -1 98 -167907442 -235088961 -1355896056 -135296089 + -174864474 1880437965 -150302833 -138416145 + + -5.3800177574157715e-001 6.7141634225845337e-001 + <_> + + 0 -1 104 268439888 -36363 -8929293 -33606147 -1229389829 + -99457 -1078018305 -1078459992 + + -6.3097971677780151e-001 5.5359894037246704e-001 + <_> + + 0 -1 5 -422582750 720301799 -219155866 -1494224282 + 1173844807 1157620175 1977996615 1206117703 + + -7.0917737483978271e-001 4.5936250686645508e-001 + + <_> + 6 + -1.4644955396652222e+000 + + <_> + + 0 -1 62 1433460221 -34244611 -2228225 -163843 -196609 + -475137 -196609 -1078326017 + + -7.1215671300888062e-001 6.8203002214431763e-001 + <_> + + 0 -1 96 286266869 -174593 -1 -188417 -1092813057 -131073 + -1145372673 -1078448707 + + -5.9869700670242310e-001 6.2674057483673096e-001 + <_> + + 0 -1 16 -285217042 -420492305 -286331358 -285282326 + 2147448679 1190622199 -2239 -134217729 + + -5.8786678314208984e-001 5.7215690612792969e-001 + <_> + + 0 -1 115 2108710352 -426529 -2490881 -2155075 -1078436612 + -268566531 -1611072513 -1078457928 + + -5.9803569316864014e-001 5.3530043363571167e-001 + <_> + + 0 -1 135 -529537534 -1062210289 -488375578 -490738757 + -85202330 -616569597 -228076761 1076356515 + + -6.1870849132537842e-001 4.6477171778678894e-001 + <_> + + 0 -1 34 201326796 -6270248 608447869 936445547 -802109188 + -53425956 -90644481 -553123441 + + -5.5705696344375610e-001 5.1763296127319336e-001 + + <_> + 6 + -1.5516430139541626e+000 + + <_> + + 0 -1 100 -1048593 -100663297 -810569841 -536870929 -524289 + -239077889 -2097201 -1 + + -6.5842545032501221e-001 7.5478929281234741e-001 + <_> + + 0 -1 27 -571417092 -237571 -459265 -1076347716 -1108803585 + -206339 -1141317633 -1078326086 + + -5.9410470724105835e-001 5.8537662029266357e-001 + <_> + + 0 -1 181 -246 -391127314 -30410240 -1023410257 -37748973 + 16252399 -256 -134217729 + + -5.4639428853988647e-001 6.0828882455825806e-001 + <_> + + 0 -1 125 268440784 -164364 -3 -4227331 -1079328773 -71434242 + -1095303169 -1147660232 + + -6.3400131464004517e-001 4.2709890007972717e-001 + <_> + + 0 -1 10 -420483546 -487658770 -291508702 -865145654 + 1392473157 854979431 2146957172 -219154457 + + -5.6688904762268066e-001 5.2953493595123291e-001 + <_> + + 0 -1 81 766019832 -12821008 1069201919 2142910973 + -1346699525 -1075175559 -1074610193 715787336 + + -6.8458378314971924e-001 3.8707160949707031e-001 + + <_> + 6 + -1.4123144149780273e+000 + + <_> + + 0 -1 113 -1048661 -754990401 1258621185 -806368625 -3934301 + 1883762871 -83373301 -1 + + -7.1403747797012329e-001 6.2246745824813843e-001 + <_> + + 0 -1 174 -487595262 -1026893077 -838025174 -491786354 + -478153978 34361967 -362025470 -1029963797 + + -6.1794960498809814e-001 5.5281740427017212e-001 + <_> + + 0 -1 128 1498471932 1574248413 -143363 -33539 -1921458756 + -1078190083 -21053512 -1079296256 + + -5.1443111896514893e-001 5.5010509490966797e-001 + <_> + + 0 -1 91 -276828658 -493885850 -957701632 -252974354 + -135314430 24343879 -214968830 -205522945 + + -4.8749122023582458e-001 5.7354146242141724e-001 + <_> + + 0 -1 83 268439704 -38334246 2010460639 -541115685 + -1165837585 -1080047400 747680443 436797608 + + -5.9777128696441650e-001 4.3888664245605469e-001 + <_> + + 0 -1 149 -1033387518 -516972413 1083175434 -152317497 + -525932885 1852809762 -502881233 1073997323 + + -5.4353684186935425e-001 4.8270839452743530e-001 + + <_> + 8 + -2.0970504283905029e+000 + + <_> + + 0 -1 100 -1 -71304193 -15741041 -1048577 -5 -235145217 + -545259617 -1 + + -6.0631048679351807e-001 7.2640037536621094e-001 + <_> + + 0 -1 182 -5243222 -2036154710 -810419072 -1347485790 + -4457040 128253886 -4048 -1048581 + + -5.1800543069839478e-001 5.6827902793884277e-001 + <_> + + 0 -1 68 452989072 -541254319 487330585 1065164701 + -1747411206 -1074525700 456661951 530128184 + + -6.0343402624130249e-001 4.6828967332839966e-001 + <_> + + 0 -1 42 -521935358 15192806 -283519958 -1695547698 + -1034950969 -2135047505 -999820989 -1023948985 + + -5.7293874025344849e-001 4.5507067441940308e-001 + <_> + + 0 -1 57 1102885560 1572117968 420423995 1608190903 451865339 + -1672431883 302713771 524222473 + + -4.8377829790115356e-001 5.2814304828643799e-001 + <_> + + 0 -1 89 -520101374 -143932414 -416306389 -210508026 + -428345878 1802363906 -671090769 -1034427901 + + -4.4041708111763000e-001 5.5660778284072876e-001 + <_> + + 0 -1 122 -1653287463 -131075 1442594813 -35709443 + -1078416135 -1080050451 -558301185 -1078326987 + + -4.2181575298309326e-001 5.8730918169021606e-001 + <_> + + 0 -1 167 -291314688 -460397696 -292673024 -488053018 + -674766528 1180517 -214699518 -205525009 + + -5.3458100557327271e-001 4.6336498856544495e-001 + + <_> + 8 + -1.4894635677337646e+000 + + <_> + + 0 -1 59 -784271363 -2171683 -6848513 -6353009 -215942146 + -1528084 -1416982593 -1358297078 + + -6.4323192834854126e-001 5.5662912130355835e-001 + <_> + + 0 -1 152 -6 -1146568712 -1619482440 -1088931592 -4653060 + 822088156 1073004476 -4194305 + + -5.0202572345733643e-001 5.4142653942108154e-001 + <_> + + 0 -1 147 75497968 -194691 -133121 -53539 -1078280449 -1 + -275058689 -1346690897 + + -5.0791001319885254e-001 5.0952428579330444e-001 + <_> + + 0 -1 17 -332150 -17498377 -824539510 -83956002 1399937796 + 1090839597 -145663988 -201326593 + + -5.0033283233642578e-001 4.8059618473052979e-001 + <_> + + 0 -1 55 488639640 -576902168 492572159 -1111670851 + -547865091 -4710404 800604063 -1358414403 + + -6.0949635505676270e-001 3.9852270483970642e-001 + <_> + + 0 -1 158 -940838878 -1028469592 -1668767744 11453452 + 1694553360 3183363 1259635074 2009071375 + + -6.0897284746170044e-001 3.6162802577018738e-001 + <_> + + 0 -1 47 -352656442 82488494 -1460764502 552378594 -134774956 + 562055942 -67232844 1996487615 + + -6.1084610223770142e-001 3.3747026324272156e-001 + <_> + + 0 -1 51 491075519 -2245665 -2017182753 -10641593 -1177752129 + -2818356 -456003909 -108156352 + + -4.0351900458335876e-001 5.1473224163055420e-001 + + <_> + 8 + -1.6725406646728516e+000 + + <_> + + 0 -1 134 -521673209 -201328641 -124000257 -136314913 + -17045505 -85204509 -201327617 -489951505 + + -6.3230335712432861e-001 5.1736354827880859e-001 + <_> + + 0 -1 170 -84 1057292204 -4508256 1059717030 -68 705458860 + -1540 1069547519 + + -6.6297966241836548e-001 3.4861809015274048e-001 + <_> + + 0 -1 75 -717422595 2113723645 -570621953 -172675 -67305473 + -71499847 -1073775617 -1079374599 + + -4.8819395899772644e-001 4.7195026278495789e-001 + <_> + + 0 -1 3 -957356510 -420548949 -288634206 -286331360 + 1191142919 1104666401 1392506179 -455084281 + + -5.5349969863891602e-001 4.1086035966873169e-001 + <_> + + 0 -1 93 -22018 -1556484 1073486008 1004060668 368846300 + 417881853 535564524 -17 + + -4.1352465748786926e-001 4.8219370841979980e-001 + <_> + + 0 -1 151 -151001342 -1067194846 -492092926 -741347377 + -222366013 7763807 -201984331 -201326593 + + -4.0152969956398010e-001 4.5363888144493103e-001 + <_> + + 0 -1 133 355734748 -13353988 -1074249735 2147048829 + -1111998984 -16946185 -1078452225 178261260 + + -7.2032541036605835e-001 3.1326821446418762e-001 + <_> + + 0 -1 43 -16777794 283163134 -950237954 284752862 1744662493 + 1049717736 -2151720 2113927167 + + -5.4231750965118408e-001 3.3973744511604309e-001 + + <_> + 8 + -1.4416458606719971e+000 + + <_> + + 0 -1 118 -981997773 -524297 -4194305 -786433 -524289 -524289 + -524293 -76286189 + + -6.3837432861328125e-001 5.8197933435440063e-001 + <_> + + 0 -1 131 -16385 1073545215 1073495548 -1073824018 2080190461 + 519863805 1065163772 -1 + + -4.4101983308792114e-001 5.5826210975646973e-001 + <_> + + 0 -1 26 -823242754 -1143016453 -1098973441 1073233584 + 1333022207 -67585 -66049 -18710570 + + -5.0551694631576538e-001 4.5312264561653137e-001 + <_> + + 0 -1 180 -268439801 15400943 -276902400 -1058021397 + -209715449 1107295229 -252 -134217729 + + -5.2299499511718750e-001 3.7318477034568787e-001 + <_> + + 0 -1 39 1075052699 -9064767 -1391091777 -44230102 -925040641 + -537067555 -572661761 -582637398 + + -3.9277845621109009e-001 5.2537852525711060e-001 + <_> + + 0 -1 20 -69634 -1728520194 -16847106 -1159005954 32525212 + 1240751612 -4302855 -18808833 + + -4.7312712669372559e-001 3.9182522892951965e-001 + <_> + + 0 -1 160 -2113602 801914812 -1074517380 1073626616 + 1073491964 228358101 1039413756 2147483580 + + -5.5665540695190430e-001 3.2366693019866943e-001 + <_> + + 0 -1 50 10617856 -139267 -593923 -524289 -335649298 -5123 + -1141453845 -1947238400 + + -5.1571136713027954e-001 3.4354647994041443e-001 + + <_> + 10 + -1.6534610986709595e+000 + + <_> + + 0 -1 100 -81 -67108865 -275796209 -67108865 -144705537 + -234883073 -33 -1 + + -6.6397964954376221e-001 5.7575756311416626e-001 + <_> + + 0 -1 37 1165237758 1072434454 -1073938433 -1078059682 + 1568210943 -4424707 -65537 -1431654482 + + -6.4136123657226563e-001 3.1682160496711731e-001 + <_> + + 0 -1 12 -353374609 -823203866 -328274206 -286331350 + 1987540855 1448572277 2004318199 -150997129 + + -5.5081850290298462e-001 4.0213811397552490e-001 + <_> + + 0 -1 97 -1070612473 -35652161 -139067459 -173158225 + -194515793 -125831781 -302003026 -1060651001 + + -3.9085510373115540e-001 4.6990257501602173e-001 + <_> + + 0 -1 173 83492869 1610039295 2143289279 -6324227 -2129 + -67637267 -17842433 -1430382533 + + -4.4559049606323242e-001 4.3264123797416687e-001 + <_> + + 0 -1 183 -100667477 615514111 -805310720 -860889169 + -671088889 33554159 -3840 -137363457 + + -4.5740145444869995e-001 3.7074878811836243e-001 + <_> + + 0 -1 108 212 -8429699 -1073741825 -57345 -4444673 -74241 + -1141572097 958401980 + + -7.0837682485580444e-001 2.6604530215263367e-001 + <_> + + 0 -1 73 -16386 -1073951300 939278076 1073233916 1742485960 + 536640876 2139893756 -65538 + + -4.2629688978195190e-001 3.6537826061248779e-001 + <_> + + 0 -1 56 1499282399 -2867241 730413917 1609867231 -574032897 + -11214916 -544419891 -591338622 + + -3.2917565107345581e-001 4.6441465616226196e-001 + <_> + + 0 -1 42 -1058543837 552599279 -301990023 -1736446177 + -941637643 -1191182689 -1546275036 -260577417 + + -4.1120386123657227e-001 3.7657707929611206e-001 + + <_> + 11 + -2.0716788768768311e+000 + + <_> + + 0 -1 113 -2097153 -220204289 -821047537 -806891569 -67635205 + -788795137 -145754353 -1 + + -6.3591754436492920e-001 5.3186190128326416e-001 + <_> + + 0 -1 1 -1058610185 -1025 -176193537 -136843281 -141033473 + -2113 -136314881 -403712137 + + -3.6152586340904236e-001 5.8020901679992676e-001 + <_> + + 0 -1 140 1433666044 -537053703 1605910399 -165377 427317503 + -255047 -38469633 -1346888696 + + -5.8524936437606812e-001 3.0378106236457825e-001 + <_> + + 0 -1 139 -673206338 448573438 -738447364 -1075310648 + 536363004 485244924 1073557244 2147483647 + + -5.1090979576110840e-001 3.2787251472473145e-001 + <_> + + 0 -1 86 1080287234 -172623034 -799017549 -178788505 + -1072959828 -925045114 -1041505873 -1057495410 + + -4.2160958051681519e-001 3.9181047677993774e-001 + <_> + + 0 -1 179 -335548634 15716327 -17039840 -2131046662 + 1878523138 1089994737 -269486336 -520622353 + + -5.4490488767623901e-001 2.7775236964225769e-001 + <_> + + 0 -1 153 -1970797296 1509847677 -1524695425 -1075376705 + 2145001471 -33793 -1682526723 -1440218325 + + -5.1685762405395508e-001 2.9982602596282959e-001 + <_> + + 0 -1 54 -69634 1035777535 -1208172546 872200958 1862115324 + 435705840 -1411563524 -69633 + + -4.0428158640861511e-001 3.6875179409980774e-001 + <_> + + 0 -1 77 1964504751 1375207407 -305673425 2008022955 + -520118130 -202939393 -38821142 -269497686 + + -3.1806364655494690e-001 4.8525118827819824e-001 + <_> + + 0 -1 15 -419434642 -387027281 -352860122 -354489138 + 1734866758 1711234877 -202116283 1995700223 + + -5.9747940301895142e-001 2.2811535000801086e-001 + <_> + + 0 -1 99 -696203326 -136259759 -722504462 -17313860 + -267061560 -798994392 -1032605768 857829674 + + -5.1942723989486694e-001 2.5452747941017151e-001 + + <_> + 10 + -1.7257841825485229e+000 + + <_> + + 0 -1 127 1576861181 -131073 -81923 -16387 1610407933 -214019 + -81921 -81921 + + -6.8091350793838501e-001 3.4414958953857422e-001 + <_> + + 0 -1 64 -537526791 -570564611 1039866815 -574636097 + 1610534911 1565843453 535440319 536806318 + + -4.6496266126632690e-001 4.2407321929931641e-001 + <_> + + 0 -1 130 -2147482155 -188929 -536870913 -163843 -1074085889 + -1025 -65537 -1079497796 + + -4.8651787638664246e-001 3.6669605970382690e-001 + <_> + + 0 -1 49 -1087372136 -4448360 1035738679 2145328955 + -1076355073 -1078453249 -1091944449 -5759490 + + -5.0146460533142090e-001 3.2934013009071350e-001 + <_> + + 0 -1 18 -286527762 -1394020353 -269488146 -286327041 + 2004309767 1635122167 -134217913 -134217729 + + -4.7354671359062195e-001 3.6931258440017700e-001 + <_> + + 0 -1 162 -1128 824228543 -537968872 530689787 -4194896 + 842068661 -8389328 991427575 + + -5.7790082693099976e-001 2.3575535416603088e-001 + <_> + + 0 -1 124 1074110978 -482082897 2144982975 -8527873 + -135790597 -16783377 -195625729 1145431622 + + -5.9902256727218628e-001 2.6036697626113892e-001 + <_> + + 0 -1 123 -268413611 -50496515 -1 -32769 -1073825795 -1 + -65537 -1073795765 + + -3.4895190596580505e-001 4.1869163513183594e-001 + <_> + + 0 -1 70 1659888162 -1241514837 -286261365 -754980061 + -486817857 -1358968833 -134217777 1080288034 + + -4.3774437904357910e-001 3.2316094636917114e-001 + <_> + + 0 -1 178 -989864177 1086324703 -10504668 -788529409 + -704677054 1040186295 -34078976 -52428801 + + -4.0298467874526978e-001 3.5668191313743591e-001 + + <_> + 12 + -1.6008259057998657e+000 + + <_> + + 0 -1 78 1468006399 -1 2013265919 -1 -4114 -4178 -536871169 + -1054038 + + -5.6673562526702881e-001 6.0633486509323120e-001 + <_> + + 0 -1 36 -11247619 -1074495491 -537330179 -1074118659 + 2143064062 -537355270 -16875521 -1074118657 + + -4.5532488822937012e-001 4.3594542145729065e-001 + <_> + + 0 -1 2 -353423377 -269490177 -268481537 -1063185 1986490359 + -117710985 -8912897 -2049 + + -3.0179327726364136e-001 5.4179322719573975e-001 + <_> + + 0 -1 132 286265528 494213629 1062738749 1072242141 532422076 + -33932626 1043864575 1001929116 + + -7.0045799016952515e-001 1.9997505843639374e-001 + <_> + + 0 -1 156 -1069357041 -205521425 -84426785 -103940129 + -294391877 -84938833 -134479905 -805117173 + + -3.1163915991783142e-001 4.4845655560493469e-001 + <_> + + 0 -1 148 -16386 1066188728 1056190392 -1079230532 -70434836 + 991196381 1073492984 -1 + + -4.1121381521224976e-001 3.2420134544372559e-001 + <_> + + 0 -1 109 -185576360 -1645650840 1040186621 -46402291 + -119623492 -13075909 809291946 951540320 + + -4.5703861117362976e-001 2.9347121715545654e-001 + <_> + + 0 -1 142 -1071185406 -71307313 -289682565 1476376503 + -621024593 -3147573 1869868927 1917304835 + + -4.7164782881736755e-001 2.3968656361103058e-001 + <_> + + 0 -1 185 -4194383 -1356267524 -146834128 1035992484 + -1074266699 -1614807202 -541622860 -843055875 + + -3.1201976537704468e-001 3.9286631345748901e-001 + <_> + + 0 -1 33 1232438266 -550129666 26740739 156444166 1313627385 + -1674514016 -2131349585 226430638 + + -4.3718740344047546e-001 2.8047958016395569e-001 + <_> + + 0 -1 0 -269490841 200273647 -18361865 -136971038 -1048055331 + -268439603 -170027101 1693972212 + + -3.7469965219497681e-001 3.0717009305953979e-001 + <_> + + 0 -1 80 -5198150 -1088811012 -1951134572 2105126033 + -1090679704 -1661199105 533900527 498401023 + + -5.2905166149139404e-001 2.2012051939964294e-001 + + <_> + 13 + -1.9205129146575928e+000 + + <_> + + 0 -1 87 -50342883 -8865 -37748737 -8422081 -184746755 + -33554945 -50529025 -50332225 + + -6.0000002384185791e-001 4.5359525084495544e-001 + <_> + + 0 -1 24 -66305 -98313 -1095074053 1018706424 1610506236 + -98313 -200705 2134015999 + + -4.8690414428710938e-001 3.6150613427162170e-001 + <_> + + 0 -1 166 2102357 -131585 -8388617 -9 -285212673 -147553 + -1094726401 1035472878 + + -6.0755223035812378e-001 2.5850912928581238e-001 + <_> + + 0 -1 121 -229891 2147287039 1069072317 972818389 532422140 + -98307 -196612 -1346732035 + + -4.5246949791908264e-001 3.1187608838081360e-001 + <_> + + 0 -1 161 -764942525 -204734609 -1343239670 -184555609 + -20453395 323876582 -235407457 -487602450 + + -2.7629959583282471e-001 4.5853719115257263e-001 + <_> + + 0 -1 184 -85 -1884749844 -303039712 -1582694406 -1076101196 + 440663751 -1082263792 -771752481 + + -3.7864053249359131e-001 3.0783155560493469e-001 + <_> + + 0 -1 74 288887673 489955233 503058653 1039990901 888943615 + -1355007300 1039939583 -1074218308 + + -4.2957478761672974e-001 2.9841592907905579e-001 + <_> + + 0 -1 89 -494934526 -135166975 -1480856977 1937236770 + -352330334 -269556698 -975445205 1097327363 + + -4.2543512582778931e-001 2.8419882059097290e-001 + <_> + + 0 -1 30 -459024521 -202375169 -8388673 -576192523 -51134721 + -8193 -1241522177 -320611277 + + -2.2042599320411682e-001 5.5913400650024414e-001 + <_> + + 0 -1 8 1564748511 -143288340 -270260497 132394664 -25102596 + -8585508 -848001031 -2758455 + + -3.4897232055664063e-001 3.3536911010742188e-001 + <_> + + 0 -1 35 -286792026 -320080020 -420811026 -319881490 + 1895264055 1643605823 1979184887 2004317778 + + -6.6432660818099976e-001 1.5332631766796112e-001 + <_> + + 0 -1 60 -82948 1563704764 1031577596 1069299704 1526529020 + 536612445 -1074483524 -65537 + + -4.1885235905647278e-001 2.5934544205665588e-001 + <_> + + 0 -1 138 -18105688 796541940 -22566112 268330254 241496248 + 239632253 633812865 1608515575 + + -4.7989422082901001e-001 2.2369465231895447e-001 + + <_> + 15 + -1.7882676124572754e+000 + + <_> + + 0 -1 100 -1 -71306241 -542638193 -262145 -1025 -236202497 + -33 -1 + + -6.0684454441070557e-001 5.5322861671447754e-001 + <_> + + 0 -1 106 1426063357 472971221 -1073908993 -1648363811 + 1761607675 -1967263745 678637451 721382031 + + -4.2795598506927490e-001 3.3990189433097839e-001 + <_> + + 0 -1 4 -269490398 751822572 -92350798 -17632270 1742174054 + 1951851365 -143132682 -134744073 + + -4.8568534851074219e-001 2.7661311626434326e-001 + <_> + + 0 -1 102 -212996 500727292 -247811 -237571 -4653059 + -1073989127 -17285123 -1078301315 + + -4.8473656177520752e-001 2.6134452223777771e-001 + <_> + + 0 -1 164 -12714220 419755325 -1077937391 964685813 -75641539 + 440397180 -1074007628 447740380 + + -4.8669299483299255e-001 2.6242053508758545e-001 + <_> + + 0 -1 117 268702033 -34819 -4202505 -172065 -4409345 -271877 + -541261829 -1113049192 + + -4.6116250753402710e-001 2.5778469443321228e-001 + <_> + + 0 -1 163 -278417666 -1107514564 250380852 1073624732 + -1208158211 1038105583 1072965852 2080374767 + + -4.3745991587638855e-001 2.5203874707221985e-001 + <_> + + 0 -1 177 -392220921 163576791 -16777720 14610431 1912602435 + 1610087871 -924324608 -738197537 + + -3.8432821631431580e-001 2.6108586788177490e-001 + <_> + + 0 -1 90 -178945281 -11411234 -705380354 -170526737 -61561669 + -4926531 -585842742 -648686848 + + -2.6648128032684326e-001 4.1246628761291504e-001 + <_> + + 0 -1 150 -290528246 -1070924442 1789690912 15379490 + -730138728 90191717 393581869 1946154447 + + -4.9659931659698486e-001 1.8755485117435455e-001 + <_> + + 0 -1 46 -721407760 -36947929 -188608589 -552915154 654368202 + -8341660 1519160477 -550894961 + + -3.1798857450485229e-001 3.1803134083747864e-001 + <_> + + 0 -1 48 -1375801682 136056829 117214954 416853708 1305280509 + 737705533 2123894492 -84082691 + + -4.7515583038330078e-001 2.2444275021553040e-001 + <_> + + 0 -1 19 -289411157 1154121446 2091885806 -563154966 + 1199003503 -160344225 -143663113 -13117441 + + -3.4701234102249146e-001 2.9402580857276917e-001 + <_> + + 0 -1 101 -1619227716 469549055 -1614893896 1073078173 + 1542477288 230592105 -1092732452 1031471039 + + -4.9646034836769104e-001 1.9390052556991577e-001 + <_> + + 0 -1 154 -1463940096 -624987401 -1402226881 966359499 + -1535214692 -83920456 -1427666776 707284251 + + -5.5271774530410767e-001 1.6742622852325439e-001 + + <_> + 16 + -1.9192950725555420e+000 + + <_> + + 0 -1 119 -792589 -786433 -524297 -1033 -2621441 -529241 + -262177 -268963849 + + -5.6610435247421265e-001 5.6078433990478516e-001 + <_> + + 0 -1 168 -789184853 -1 -524289 -1 -1061889 -68422785 + -251658513 -790626305 + + -3.3353686332702637e-001 4.9356549978256226e-001 + <_> + + 0 -1 82 -805218991 -1 -1 -524289 -1075871745 -22533 -45057 + -4494210 + + -2.8185382485389709e-001 4.2225864529609680e-001 + <_> + + 0 -1 45 -8855555 -1073840641 -1095041537 -1073824265 + -813760516 -540475393 -1078001665 -327969 + + -3.1645154953002930e-001 3.6003640294075012e-001 + <_> + + 0 -1 126 -578945034 535082942 771670012 1572704254 234364908 + 436014586 1025859071 1610612735 + + -4.0988036990165710e-001 2.8143650293350220e-001 + <_> + + 0 -1 171 -4194552 77458647 -570435840 14024671 -8915200 + 12517231 -1520 33029559 + + -6.8118953704833984e-001 1.7440743744373322e-001 + <_> + + 0 -1 32 -12969509 -1107570737 -1086657415 1069223462 + -706388516 -537948803 -4701955 -276873121 + + -2.8572362661361694e-001 3.6879491806030273e-001 + <_> + + 0 -1 84 -201333086 -168165510 -1140873578 -156846097 + -1598322706 -1365250713 -999062802 1080288427 + + -3.2669910788536072e-001 3.0241185426712036e-001 + <_> + + 0 -1 9 -441538553 -924143742 -421089818 -487657498 + 1903514423 1681119607 -1276149891 -157024417 + + -3.9508256316184998e-001 2.4040374159812927e-001 + <_> + + 0 -1 69 502542965 -4714543 1274896381 2139045885 1006140349 + -1078706177 2146713599 681052468 + + -5.2714240550994873e-001 1.8013860285282135e-001 + <_> + + 0 -1 175 -8422137 1609563911 -8388747 -134742145 -67109106 + -540673 -469827877 -96577957 + + -2.5926300883293152e-001 3.7889996170997620e-001 + <_> + + 0 -1 67 -286265557 -1565655217 -419459294 -227848274 + 930608951 6354783 921154795 -167775281 + + -3.0875918269157410e-001 3.2574757933616638e-001 + <_> + + 0 -1 137 -598454124 -170373806 -230787081 -34578983 + -1781285135 -338624514 -1313273857 -1157481285 + + -2.8985816240310669e-001 3.3638575673103333e-001 + <_> + + 0 -1 40 -796609814 2056988898 1625256063 1440313762 + -754984449 -718353734 -1812463633 1164947082 + + -3.4438478946685791e-001 2.7231806516647339e-001 + <_> + + 0 -1 178 81477379 29360031 2128555018 15727359 -906496255 + 1426029946 -1213272252 -255328769 + + -4.3185618519783020e-001 2.2283333539962769e-001 + <_> + + 0 -1 58 1386280898 -711936371 1031617907 -577016881 + -2003247648 -1798244104 1233878955 1494895247 + + -3.6808815598487854e-001 2.6348024606704712e-001 + + <_> + 17 + -1.6384667158126831e+000 + + <_> + + 0 -1 112 -4206849 -62209 -32769 -536935169 -9175041 -1 + -13304897 -8705 + + -5.3728371858596802e-001 6.6736513376235962e-001 + <_> + + 0 -1 113 -5247077 -666897729 -904951035 -909129075 + 2068575147 -253071113 -548940533 -17 + + -3.6703088879585266e-001 4.0338560938835144e-001 + <_> + + 0 -1 172 -576718152 420282172 -71304011 1069512381 + 2030025720 -1080402051 -1094726468 800576692 + + -4.4541954994201660e-001 2.6759427785873413e-001 + <_> + + 0 -1 63 -4631043 -75522949 -1145398245 859561343 -303016743 + -1083486159 -54260520 994000962 + + -3.3632522821426392e-001 3.1928580999374390e-001 + <_> + + 0 -1 176 788491535 1073735511 -276824257 -671612929 + -352327922 2129657855 218103502 -67108865 + + -2.4006241559982300e-001 4.0503886342048645e-001 + <_> + + 0 -1 88 -1069309438 -145266942 -159645705 -803756285 + -997200197 -323557570 2113798139 1963456002 + + -4.3331962823867798e-001 2.1208211779594421e-001 + <_> + + 0 -1 71 1367342079 2012741319 -2110795937 2147479463 + -56638518 -1050641 -71303510 -3153238 + + -1.9893048703670502e-001 4.7693827748298645e-001 + <_> + + 0 -1 30 -1541155021 -339 -193 -526490 -319849731 -10493953 + -285212673 -525376925 + + -2.5493767857551575e-001 3.7484326958656311e-001 + <_> + + 0 -1 23 1155842302 27536607 1867763165 456795576 482647295 + 229511083 2080296891 1336600999 + + -4.7114911675453186e-001 2.0197547972202301e-001 + <_> + + 0 -1 76 -259800958 -2626633 -39321665 -403197129 -403705969 + -37709 -1046294898 1094968962 + + -3.4149444103240967e-001 2.6795396208763123e-001 + <_> + + 0 -1 144 5392 2138953693 -67174401 -181252 -1107628037 + -3281989 -131073 685770528 + + -7.2787940502166748e-001 1.2180325388908386e-001 + <_> + + 0 -1 145 -1055998 1595749766 302257080 466399709 806822355 + 173548258 2005670911 2068836863 + + -4.1571453213691711e-001 2.0857739448547363e-001 + <_> + + 0 -1 155 -1107944416 1435545188 -374463656 1475087018 + -299724488 513554036 504366813 1568275455 + + -4.8667240142822266e-001 1.6587641835212708e-001 + <_> + + 0 -1 44 -487593362 785337935 -398760218 -387739962 553121643 + 930578263 -943466818 1408757591 + + -5.4894161224365234e-001 1.4391185343265533e-001 + <_> + + 0 -1 143 286261404 963718076 528222713 2101294077 1073232060 + -1145166668 1001142718 174078096 + + -6.0666769742965698e-001 1.3923630118370056e-001 + <_> + + 0 -1 65 -556269569 -734724163 -1611190725 -20513 -721568262 + -661613388 -1961160965 -537135233 + + -1.7968930304050446e-001 5.4242342710494995e-001 + <_> + + 0 -1 21 -16855954 -1527846930 -286606210 1823626872 + -611432356 -568438987 1072619359 338837363 + + -4.3688330054283142e-001 2.0569972693920135e-001 + + <_> + 19 + -1.6432296037673950e+000 + + <_> + + 0 -1 120 -37748801 -33554947 -1 -1 -4194373 -513 -1077936197 + -65 + + -5.1218336820602417e-001 7.4440699815750122e-001 + <_> + + 0 -1 146 -673843201 -459810 -136357889 -378968 -537133057 + -65538 -67127041 -5338454 + + -2.5160089135169983e-001 5.8271646499633789e-001 + <_> + + 0 -1 38 -134228169 871357879 -33557001 -67109057 -453327361 + -67109377 -704658185 -1309157897 + + -2.6915127038955688e-001 4.2556142807006836e-001 + <_> + + 0 -1 14 -286597510 -581378566 -293667400 -19464514 + 1558534864 1601464761 2138930392 2096103359 + + -4.3442091345787048e-001 2.1993473172187805e-001 + <_> + + 0 -1 7 -299434962 -1090147833 -274530881 -165221818 + -836539099 -1170047964 -67764225 -92811401 + + -3.3180844783782959e-001 2.8903234004974365e-001 + <_> + + 0 -1 79 -5263833 -76432721 -2010435829 -1615741527 + -1107917633 -707674371 2146953119 -167968769 + + -2.3211990296840668e-001 3.8325443863868713e-001 + <_> + + 0 -1 141 -1073512445 -682625025 -805568513 -4194345 + -67110209 -77041 -1048577 -1023164405 + + -2.7058473229408264e-001 3.2406231760978699e-001 + <_> + + 0 -1 25 -537244166 535827454 -1468104961 999454430 + -805682182 1869780957 -604834849 708476767 + + -4.0218099951744080e-001 2.3334722220897675e-001 + <_> + + 0 -1 110 1649385986 1654913147 1112912626 -263271454 + 2009153195 1297598227 -146823949 -1041800249 + + -4.1301506757736206e-001 2.0980355143547058e-001 + <_> + + 0 -1 13 1682195680 -235123986 69349375 531702373 -130229000 + -18068324 -546376291 -47623044 + + -4.0672650933265686e-001 2.2794869542121887e-001 + <_> + + 0 -1 165 1499446556 486863068 2139037685 2111827583 + -71702088 779075576 1991951440 1023368464 + + -4.7443622350692749e-001 1.6973347961902618e-001 + <_> + + 0 -1 159 -402677082 1336163752 -4257148 134161664 135307481 + 745813992 91358435 1540358142 + + -4.1310870647430420e-001 2.0664623379707336e-001 + <_> + + 0 -1 94 -86050 -214276 -1265670 500973532 2113706716 + 521945533 2104012782 -268500993 + + -3.6063745617866516e-001 2.1921299397945404e-001 + <_> + + 0 -1 129 16 -611331 -1083196417 -2277386 -40124449 + -1090523667 -136839169 508036272 + + -7.2185653448104858e-001 1.2485391646623611e-001 + <_> + + 0 -1 105 1476390570 1585364599 -1318064693 1709964651 + 2100785568 -1142693855 -165456382 1097200448 + + -4.3710902333259583e-001 1.7141909897327423e-001 + <_> + + 0 -1 22 -822194506 -270390315 -1374548225 782411003 + 238635709 -876920077 -405611781 2138732543 + + -4.0224075317382813e-001 2.0043475925922394e-001 + <_> + + 0 -1 53 -260902702 1365221384 2128088279 895297655 + -1486507602 -1384171985 829308671 535782095 + + -2.8388926386833191e-001 2.9086777567863464e-001 + <_> + + 0 -1 92 -319820273 1806647054 113167908 1403043690 660430667 + 353394459 771163284 -210501657 + + -3.2886692881584167e-001 2.4895632266998291e-001 + <_> + + 0 -1 11 -268491166 12986974 -473666582 683997766 1963284337 + 1950440428 -270107578 -139991169 + + -4.5765051245689392e-001 1.8740060925483704e-001 + + <_> + 20 + -1.7327002286911011e+000 + + <_> + + 0 -1 136 -838860801 -805306369 -3 -641 1291845631 + -1895825409 -570425345 -536870977 + + -5.2951431274414063e-001 6.3284516334533691e-001 + <_> + + 0 -1 107 -1052929 -107224385 -1911568115 -1884320593 + -1838093 -793521449 -10486305 -545268257 + + -3.2829684019088745e-001 4.5297625660896301e-001 + <_> + + 0 -1 157 2004351967 -679478273 458215935 -39850018 -1029 + -4203105 -1041 -7608182 + + -1.7520354688167572e-001 5.8037400245666504e-001 + <_> + + 0 -1 184 -12582998 195817151 -224 -1053819475 -536871937 + -1962939141 -18768 -440401941 + + -3.1779766082763672e-001 2.9805180430412292e-001 + <_> + + 0 -1 29 -139820838 -2210 -38618539 1037909964 -336385 -72710 + -537722889 2140048130 + + -3.8719791173934937e-001 2.4800541996955872e-001 + <_> + + 0 -1 2 -269521937 -536940706 -1593601 -12562 23553907 + -596123657 -8421377 -8394881 + + -1.8954561650753021e-001 4.3200388550758362e-001 + <_> + + 0 -1 52 1490859451 -69337170 -168227465 -615203889 + -110582300 -53695260 -976380608 -522354687 + + -3.0474671721458435e-001 2.6574173569679260e-001 + <_> + + 0 -1 72 -608418 2113708536 2037136492 426423294 2146274269 + 521943861 1575855102 2138799359 + + -3.7270265817642212e-001 2.1172212064266205e-001 + <_> + + 0 -1 103 1024 -537953829 -547364865 1442839990 -272510977 + -75890731 -1145946146 134228448 + + -7.5749701261520386e-001 1.0885673761367798e-001 + <_> + + 0 -1 114 -298873841 -5053145 -1434563050 -236998942 + 1275022543 -1619894402 -290242404 -76027905 + + -2.3406513035297394e-001 3.3599156141281128e-001 + <_> + + 0 -1 111 -298848766 -433659860 234884614 -1880898169 + -623459070 -1073594345 1464821259 -85985281 + + -3.5892826318740845e-001 2.2068901360034943e-001 + <_> + + 0 -1 6 -69206530 553316030 -672281354 -1147675428 857435771 + 951569881 1568243679 -572662322 + + -2.9227516055107117e-001 2.8497108817100525e-001 + <_> + + 0 -1 116 498089404 1064859100 1588868782 1071429112 + 1500536317 268180347 1068400639 1027243836 + + -6.3993138074874878e-001 1.2821437418460846e-001 + <_> + + 0 -1 41 -305176331 81264589 -1296113666 -1260126247 + -302166571 -361169107 -840794663 -286001193 + + -2.6271352171897888e-001 2.9894199967384338e-001 + <_> + + 0 -1 59 -236955406 -170467174 959659861 -1284701297 + -536694808 -1085085955 -1913770579 -282325751 + + -2.8713181614875793e-001 2.7808821201324463e-001 + <_> + + 0 -1 66 -1140855158 -42021130 -330167348 1073326866 + 1610479176 2034503509 1409147804 1576401694 + + -3.5052102804183960e-001 2.1350817382335663e-001 + <_> + + 0 -1 169 -322970297 276756063 -1392509090 -764542977 + -58762396 -487671989 -889193886 -1191706633 + + -2.5308734178543091e-001 2.9686897993087769e-001 + <_> + + 0 -1 95 1208161280 -549732421 -43516937 1975510217 + 1079562542 -1137710869 -141042441 1359184024 + + -4.7310391068458557e-001 1.5836887061595917e-001 + <_> + + 0 -1 31 -58537450 -1088287189 1663066073 1570552950 + -497558223 -814536319 -362484999 -2008585213 + + -3.1321647763252258e-001 2.3874203860759735e-001 + <_> + + 0 -1 61 -1376776328 1027569591 2142527485 -1073748483 + 1064852988 -553918471 -1343570434 -1464172735 + + -3.6929282546043396e-001 2.0340856909751892e-001 + + <_> + + 0 0 2 3 + <_> + + 0 0 3 1 + <_> + + 0 1 1 1 + <_> + + 0 1 1 3 + <_> + + 0 1 2 2 + <_> + + 0 1 2 3 + <_> + + 0 1 2 4 + <_> + + 0 1 7 1 + <_> + + 0 1 12 2 + <_> + + 0 2 1 1 + <_> + + 0 2 1 2 + <_> + + 0 2 2 1 + <_> + + 0 3 1 1 + <_> + + 0 3 11 1 + <_> + + 0 4 1 3 + <_> + + 0 5 1 1 + <_> + + 0 6 1 1 + <_> + + 0 6 1 2 + <_> + + 0 7 1 1 + <_> + + 0 7 2 1 + <_> + + 0 7 2 2 + <_> + + 0 9 1 1 + <_> + + 0 9 3 1 + <_> + + 0 9 7 1 + <_> + + 0 10 1 1 + <_> + + 0 10 2 1 + <_> + + 0 10 3 1 + <_> + + 0 10 6 1 + <_> + + 0 10 9 1 + <_> + + 0 10 13 1 + <_> + + 1 0 2 1 + <_> + + 1 1 8 1 + <_> + + 1 2 8 1 + <_> + + 1 2 12 1 + <_> + + 1 3 11 1 + <_> + + 1 4 2 1 + <_> + + 1 10 2 1 + <_> + + 1 10 7 1 + <_> + + 2 0 1 3 + <_> + + 2 0 11 2 + <_> + + 2 1 12 1 + <_> + + 2 2 1 1 + <_> + + 2 2 1 2 + <_> + + 2 4 1 3 + <_> + + 2 5 2 1 + <_> + + 2 10 2 1 + <_> + + 3 4 11 1 + <_> + + 3 5 1 2 + <_> + + 3 6 1 2 + <_> + + 3 9 11 1 + <_> + + 4 0 3 1 + <_> + + 4 1 11 2 + <_> + + 4 1 12 2 + <_> + + 4 5 9 1 + <_> + + 4 7 1 2 + <_> + + 4 9 8 1 + <_> + + 5 1 11 2 + <_> + + 5 2 11 1 + <_> + + 5 3 11 1 + <_> + + 5 4 10 1 + <_> + + 5 7 1 2 + <_> + + 5 10 2 1 + <_> + + 5 10 6 1 + <_> + + 6 2 5 1 + <_> + + 6 2 10 1 + <_> + + 6 3 11 1 + <_> + + 6 4 1 3 + <_> + + 6 5 1 1 + <_> + + 6 9 11 1 + <_> + + 6 10 3 1 + <_> + + 7 1 1 3 + <_> + + 7 3 7 2 + <_> + + 7 4 1 3 + <_> + + 7 7 1 2 + <_> + + 7 9 3 1 + <_> + + 7 10 4 1 + <_> + + 8 0 1 3 + <_> + + 8 3 6 2 + <_> + + 8 3 8 2 + <_> + + 8 6 8 2 + <_> + + 8 7 6 2 + <_> + + 8 10 6 1 + <_> + + 9 0 1 1 + <_> + + 9 0 9 1 + <_> + + 9 1 1 3 + <_> + + 9 10 10 1 + <_> + + 10 0 1 3 + <_> + + 10 3 3 1 + <_> + + 11 0 1 3 + <_> + + 11 1 1 3 + <_> + + 11 1 8 2 + <_> + + 11 6 1 1 + <_> + + 11 7 1 1 + <_> + + 11 7 1 2 + <_> + + 12 7 1 2 + <_> + + 13 0 2 2 + <_> + + 13 0 4 1 + <_> + + 13 1 2 2 + <_> + + 13 3 3 3 + <_> + + 13 4 7 1 + <_> + + 13 5 3 2 + <_> + + 13 9 2 1 + <_> + + 13 10 2 1 + <_> + + 14 0 1 1 + <_> + + 14 0 4 1 + <_> + + 14 1 3 3 + <_> + + 14 2 8 1 + <_> + + 14 5 2 2 + <_> + + 15 0 2 1 + <_> + + 15 1 6 1 + <_> + + 15 4 2 1 + <_> + + 15 4 2 2 + <_> + + 15 5 1 2 + <_> + + 15 5 2 2 + <_> + + 15 7 1 1 + <_> + + 15 10 5 1 + <_> + + 16 9 3 1 + <_> + + 17 0 2 1 + <_> + + 17 1 2 2 + <_> + + 17 3 2 1 + <_> + + 17 5 1 2 + <_> + + 17 10 2 1 + <_> + + 17 10 6 1 + <_> + + 18 0 2 1 + <_> + + 18 0 2 3 + <_> + + 18 0 3 1 + <_> + + 18 7 2 2 + <_> + + 18 10 2 1 + <_> + + 19 10 7 1 + <_> + + 20 0 1 1 + <_> + + 20 0 2 1 + <_> + + 20 7 1 2 + <_> + + 20 9 5 1 + <_> + + 20 10 4 1 + <_> + + 21 0 1 3 + <_> + + 21 1 1 3 + <_> + + 21 1 6 1 + <_> + + 21 4 5 1 + <_> + + 21 6 1 2 + <_> + + 21 7 1 2 + <_> + + 21 10 5 1 + <_> + + 22 0 1 2 + <_> + + 22 0 1 3 + <_> + + 22 9 5 1 + <_> + + 23 0 1 1 + <_> + + 23 6 2 2 + <_> + + 24 4 3 1 + <_> + + 25 0 4 1 + <_> + + 25 7 1 2 + <_> + + 26 1 1 3 + <_> + + 26 5 1 2 + <_> + + 26 6 1 1 + <_> + + 26 7 1 2 + <_> + + 27 0 4 1 + <_> + + 28 0 4 1 + <_> + + 29 6 1 2 + <_> + + 30 0 1 3 + <_> + + 30 3 2 2 + <_> + + 30 5 1 2 + <_> + + 30 6 1 2 + <_> + + 30 7 1 2 + <_> + + 31 3 1 2 + <_> + + 31 4 3 3 + <_> + + 31 7 1 2 + <_> + + 31 9 3 1 + <_> + + 31 10 3 1 + <_> + + 32 0 1 1 + <_> + + 32 6 1 1 + <_> + + 33 0 2 3 + <_> + + 34 2 2 2 + <_> + + 34 7 2 2 + <_> + + 34 8 2 1 + <_> + + 34 10 2 1 + <_> + + 36 0 1 1 + <_> + + 36 3 1 2 + <_> + + 37 0 1 1 + <_> + + 37 1 1 1 + <_> + + 37 2 1 1 + <_> + + 37 3 1 1 + <_> + + 37 4 1 2 + <_> + + 37 6 1 1 + <_> + + 37 7 1 1 + <_> + + 37 7 1 2 + <_> + + 37 8 1 1 + <_> + + 37 9 1 1 + <_> + + 37 10 1 1 + diff --git a/openalpr_runtime/region/br2.xml b/openalpr_runtime/region/br2.xml new file mode 100644 index 0000000..47aa4c4 --- /dev/null +++ b/openalpr_runtime/region/br2.xml @@ -0,0 +1,669 @@ + + + + BOOST + LBP + 24 + 28 + + GAB + 9.9500000476837158e-01 + 4.4999998807907104e-01 + 9.4999999999999996e-01 + 1 + 100 + + 256 + 1 + 12 + + + <_> + 4 + -2.0200068950653076e+00 + + <_> + + 0 -1 48 -67108865 -10486837 -1073684344 -8916981 -762584854 + -68435421 1073987722 -1 + + -9.2319446802139282e-01 1.7767988145351410e-01 + <_> + + 0 -1 26 -1049862 -202116904 -976568128 -205025158 -613560086 + -606353766 -539504246 -1057793 + + -8.6242151260375977e-01 4.1715285181999207e-01 + <_> + + 0 -1 50 -201326625 -657141281 1457538271 1366147551 + -522716165 1346657781 -506470657 1365245951 + + -7.9889923334121704e-01 5.2786636352539063e-01 + <_> + + 0 -1 1 -2080321318 -2145966 -1525811713 1566267615 + -2147420181 -1612756241 251913211 -67122177 + + -7.1385616064071655e-01 5.6450831890106201e-01 + + <_> + 5 + -2.6409916877746582e+00 + + <_> + + 0 -1 39 -2097153 -179060734 -3156481 1964237315 -100663553 + -1122244438 -16777217 -2049 + + -8.8834857940673828e-01 3.4894090890884399e-01 + <_> + + 0 -1 59 -556802558 -66330301 -1764503279 -716451053 + -38806322 -655637925 -739519269 -1 + + -8.1500864028930664e-01 3.9016029238700867e-01 + <_> + + 0 -1 12 -68159493 -150932942 -752124677 1392767813 + 2033449915 -822020479 -673914913 1396965375 + + -7.3737746477127075e-01 5.3011864423751831e-01 + <_> + + 0 -1 41 -73402118 -135042074 -1652375488 -136604716 + -10751346 -1661874722 -752959236 -13115649 + + -7.4220645427703857e-01 4.9306350946426392e-01 + <_> + + 0 -1 23 1091027714 -150158003 -582588673 -716712063 + 1342634686 -598815057 -477761553 -551827681 + + -6.9332039356231689e-01 4.8989033699035645e-01 + + <_> + 5 + -1.5841789245605469e+00 + + <_> + + 0 -1 19 -1 -211312478 -205531149 -75501245 -69468161 + -88087670 -34608129 -1 + + -8.8020581007003784e-01 2.8018224239349365e-01 + <_> + + 0 -1 55 -84935986 -94112054 -1731725174 -641208137 -22021489 + -360123190 -794037281 -611581953 + + -8.3080464601516724e-01 2.8177833557128906e-01 + <_> + + 0 -1 3 -420485502 -343179414 -2102728670 1375725283 + -12065086 -821570493 -947660801 -1050625 + + -7.3790472745895386e-01 4.4913527369499207e-01 + <_> + + 0 -1 30 -671350785 -541329517 -107086369 -682764394 + -540016641 -560398914 -573444130 1360127059 + + -7.0008111000061035e-01 5.0303238630294800e-01 + <_> + + 0 -1 63 -16777590 1836055226 -2032180702 1121974975 + -531676414 -2034049491 1364682256 -679477249 + + -7.3480564355850220e-01 5.0544387102127075e-01 + + <_> + 5 + -1.8767446279525757e+00 + + <_> + + 0 -1 24 -134220802 -67111937 -217058593 -2360333 -77332497 + -1715211301 -74448897 -2049 + + -9.0943157672882080e-01 -5.4036870598793030e-02 + <_> + + 0 -1 48 -202901505 -3133 -2147426304 2070931595 1921245386 + 1935663170 254602 -2081 + + -7.7308130264282227e-01 3.5273641347885132e-01 + <_> + + 0 -1 21 1343311888 -640331371 393592285 1604262175 + -1550600262 -1614807297 -1073759297 -16481 + + -7.0263242721557617e-01 4.9730697274208069e-01 + <_> + + 0 -1 4 -692852022 -671653334 1079345280 1998565839 + 1633155007 1363662362 1426560975 2002778111 + + -7.9796797037124634e-01 4.5096334815025330e-01 + <_> + + 0 -1 60 -2138 -271581587 -366239230 -1840775673 -12726 + 1245708134 1357836866 -87031841 + + -7.5023615360260010e-01 4.5097395777702332e-01 + + <_> + 5 + -1.9083664417266846e+00 + + <_> + + 0 -1 35 -1 -1053 -213647377 -2897 516746 51373706 324008399 + -2097153 + + -9.0389448404312134e-01 -1.1493546515703201e-01 + <_> + + 0 -1 43 -85200150 -203439167 -213385233 -70519857 -16844561 + -7342081 -687867921 -204474401 + + -7.6944518089294434e-01 2.7061909437179565e-01 + <_> + + 0 -1 36 -583475716 -539978244 -1143882241 1608080885 + -1615292161 -107464260 -1347638337 1000152024 + + -7.3831391334533691e-01 3.9326193928718567e-01 + <_> + + 0 -1 53 -672141329 -785925174 476361903 1363607470 + -234881025 1073899142 -1745889281 1364196239 + + -7.1722269058227539e-01 4.0664187073707581e-01 + <_> + + 0 -1 15 1950937176 -144695968 491822585 2036924433 + -1440700178 -1162316120 302570495 152573192 + + -7.5502556562423706e-01 4.3155083060264587e-01 + + <_> + 5 + -1.8426346778869629e+00 + + <_> + + 0 -1 31 -2099201 -140545 -2100225 -1 -6422532 -16220032 -1 + -2097233 + + -8.7742716073989868e-01 -1.1231603473424911e-01 + <_> + + 0 -1 14 1409332178 -40967 1069547519 -59973 -1456930817 + -29185 -1655967745 -37125 + + -7.4323379993438721e-01 2.0877787470817566e-01 + <_> + + 0 -1 49 -134217729 -8652929 -268673793 -1614020609 + -134218753 -57081873 1350549213 1431302623 + + -6.6647547483444214e-01 3.7794494628906250e-01 + <_> + + 0 -1 0 -22362622 -8978441 573201186 -625281229 -389376030 + 1202190598 -942673973 -11537413 + + -6.7364996671676636e-01 4.1429626941680908e-01 + <_> + + 0 -1 27 -203425281 2142185198 1073946624 1971314820 + -504372310 850992238 91334 1476393979 + + -6.9137978553771973e-01 4.3171164393424988e-01 + + <_> + 3 + -1.4129228591918945e+00 + + <_> + + 0 -1 22 957366269 -188651 -551298049 -9105031 -1097155585 + -1078068801 -1947668481 -1616377704 + + -9.1420644521713257e-01 3.7511521577835083e-01 + <_> + + 0 -1 25 16777304 -545323139 663987711 2140603605 -1346388485 + -9222 461939647 -1073868657 + + -9.1892683506011963e-01 3.4843826293945313e-01 + <_> + + 0 -1 18 -640681222 -35788040 -1879023576 -144739679 + -1196623634 -24846142 2085605339 -10485829 + + -8.3249509334564209e-01 4.2021048069000244e-01 + + <_> + 6 + -2.1827182769775391e+00 + + <_> + + 0 -1 16 -676291075 -59527 -131073 -2263043 -1615020289 + -1073766405 -1078264321 -1079501315 + + -8.7743735313415527e-01 -2.1265141665935516e-01 + <_> + + 0 -1 61 -129 -1573905 2080372337 -546308097 -631243253 + -817902017 1440728371 -1 + + -6.1447614431381226e-01 3.6167511343955994e-01 + <_> + + 0 -1 28 1034948984 1609908088 1072987613 2147039209 + -1699205633 -285600004 716750847 531633420 + + -7.3482316732406616e-01 2.9262691736221313e-01 + <_> + + 0 -1 35 -22020114 2144598374 -144867346 1811018927 33418 + 21194274 302971086 1607466975 + + -7.4089962244033813e-01 3.0215385556221008e-01 + <_> + + 0 -1 38 -1026 1361129472 -70254610 1460875274 -136318738 + 309207592 -136319265 2070377871 + + -6.9874203205108643e-01 3.6844456195831299e-01 + <_> + + 0 -1 37 426779060 -604029380 2145378271 -1073867285 + -1082233345 -1879228449 -71525379 -1078120705 + + -6.1097669601440430e-01 3.7921726703643799e-01 + + <_> + 6 + -2.1682424545288086e+00 + + <_> + + 0 -1 6 -1 -286284113 -1099170829 -352321537 -2049 -813695553 + -2057 -1 + + -8.7457454204559326e-01 -2.3045821487903595e-01 + <_> + + 0 -1 57 -408162814 -985411829 -31719629 -1053294785 + -37785825 722455391 -542115905 -67108865 + + -7.6206994056701660e-01 9.8814539611339569e-02 + <_> + + 0 -1 44 -8389633 1886388094 4218890 1346556559 -612371505 + -1472496520 302048458 -45089809 + + -5.8149963617324829e-01 3.4274771809577942e-01 + <_> + + 0 -1 8 -931083048 -540685315 -1102282785 1332862667 + 135301022 -578954028 2141962239 -543170837 + + -6.0673421621322632e-01 3.5551807284355164e-01 + <_> + + 0 -1 5 -212076574 -168573070 955490914 -134225178 -210700337 + 1997992999 1937191387 -134220801 + + -6.0471540689468384e-01 3.8508275151252747e-01 + <_> + + 0 -1 33 616832636 1006403029 -147971 2138922932 -1091518977 + -1073955908 534040575 230169732 + + -7.3513597249984741e-01 2.9909896850585938e-01 + + <_> + 7 + -1.8949753046035767e+00 + + <_> + + 0 -1 20 -1 -137370966 -167774209 -2229 -4194561 -85197073 + -570425345 -1 + + -8.6097538471221924e-01 -1.6319444775581360e-01 + <_> + + 0 -1 62 -161 -101712401 2079317025 -209717249 -17834161 + -27263873 -671091373 -1 + + -5.9411269426345825e-01 2.9929211735725403e-01 + <_> + + 0 -1 13 -866123600 -1655170800 -1736885253 -1648918063 + 245504216 -350743936 314350335 423237791 + + -6.5670984983444214e-01 2.9690742492675781e-01 + <_> + + 0 -1 56 -612370450 1380974540 1074058816 17104718 -68158465 + -1294206529 -250282246 1906310079 + + -7.4492782354354858e-01 2.6959604024887085e-01 + <_> + + 0 -1 29 -138946750 -1574079 1397979095 -680541311 -135792926 + -675356281 -142092801 -682376445 + + -5.5088245868682861e-01 4.0644043684005737e-01 + <_> + + 0 -1 2 -1360311293 -827388629 -26811149 3862143 1183309551 + -299892745 1181742259 -855646977 + + -5.4480969905853271e-01 3.8415440917015076e-01 + <_> + + 0 -1 40 438049821 -75942535 -107085825 2138256891 1072873469 + -1073874186 2130624509 -1073857859 + + -5.2291977405548096e-01 4.1930496692657471e-01 + + <_> + 7 + -1.6987801790237427e+00 + + <_> + + 0 -1 17 -1 -223612126 -237242629 -1575941 -68157505 + -1142163670 -335545617 -1 + + -8.6684393882751465e-01 -2.4625267088413239e-01 + <_> + + 0 -1 51 -1 -606601233 -1100223505 -2099377 -1303448950 + -1290584000 -85228822 -33 + + -6.0389131307601929e-01 2.8166931867599487e-01 + <_> + + 0 -1 11 -4202498 2145908715 2016557592 1378924759 1970778308 + -1553468441 89207837 2122317823 + + -6.3584578037261963e-01 2.6573029160499573e-01 + <_> + + 0 -1 58 -353371008 -657465966 1190133011 -721160335 + -167813235 -616047649 -285214779 -76546177 + + -6.1458301544189453e-01 2.9738888144493103e-01 + <_> + + 0 -1 7 255877118 -389314 -287264801 -15440458 913184767 + -276932747 443694079 705709936 + + -6.5274596214294434e-01 3.1795260310173035e-01 + <_> + + 0 -1 42 -135266337 1895883976 1079105624 1359177356 + -90443825 -1610439442 -985404722 -83099649 + + -5.0249767303466797e-01 3.9825597405433655e-01 + <_> + + 0 -1 34 -78653457 -214769462 -306843307 1460523471 + -716320632 1359073280 -1857207099 -950009897 + + -5.2148115634918213e-01 3.8696458935737610e-01 + + <_> + 8 + -1.8110905885696411e+00 + + <_> + + 0 -1 32 -136445953 -2229251 -570607617 -21190 -11468802 + -1265688 -335557377 -5529430 + + -8.6109679937362671e-01 -3.0958902835845947e-01 + <_> + + 0 -1 9 -1 -8929301 -1611404289 1459855291 -327702 -867972113 + -85 1400106939 + + -6.7157512903213501e-01 9.4840347766876221e-02 + <_> + + 0 -1 46 -2098996 -539625481 -206371 -3148089 -236982049 + 1977612257 -143142177 1598551887 + + -6.1250638961791992e-01 2.5699236989021301e-01 + <_> + + 0 -1 54 -33562882 1363716248 -151019272 1908489980 -37748740 + 269801148 -1778384898 1040056253 + + -6.3310855627059937e-01 2.6527416706085205e-01 + <_> + + 0 -1 47 2080374782 -539660939 -312771250 -42467763 + -136446209 -1099795848 -2078290738 1359299592 + + -6.2945646047592163e-01 2.8813731670379639e-01 + <_> + + 0 -1 45 -134218353 -145786421 1078087119 1392754671 + -161480798 508790636 -2136569202 511683 + + -5.7064145803451538e-01 3.1163769960403442e-01 + <_> + + 0 -1 52 1052521273 2106341237 -69369857 -8522771 -1653293317 + -1174602498 -1879244801 -1617412612 + + -4.3977555632591248e-01 4.2958027124404907e-01 + <_> + + 0 -1 10 -489984478 -1565602194 -962401229 -500564317 + 1677543368 -820056623 -84424987 -948045867 + + -6.1380976438522339e-01 3.0440369248390198e-01 + + <_> + + 0 0 2 8 + <_> + + 0 0 6 2 + <_> + + 0 5 1 4 + <_> + + 0 6 2 4 + <_> + + 0 8 3 5 + <_> + + 0 9 3 3 + <_> + + 0 11 1 2 + <_> + + 0 20 5 1 + <_> + + 1 0 7 3 + <_> + + 1 1 4 6 + <_> + + 1 9 1 2 + <_> + + 1 12 2 4 + <_> + + 3 2 3 6 + <_> + + 3 12 8 1 + <_> + + 4 0 5 2 + <_> + + 5 13 6 1 + <_> + + 5 20 6 1 + <_> + + 6 7 2 5 + <_> + + 6 8 3 3 + <_> + + 6 9 2 4 + <_> + + 6 10 2 3 + <_> + + 7 0 7 2 + <_> + + 7 21 4 1 + <_> + + 8 0 2 4 + <_> + + 8 0 2 6 + <_> + + 8 0 4 2 + <_> + + 8 6 2 4 + <_> + + 8 9 2 4 + <_> + + 8 20 3 1 + <_> + + 9 1 2 4 + <_> + + 9 1 3 6 + <_> + + 9 11 3 2 + <_> + + 9 13 3 1 + <_> + + 9 21 2 1 + <_> + + 10 7 2 4 + <_> + + 10 8 2 5 + <_> + + 10 18 5 2 + <_> + + 11 0 2 1 + <_> + + 12 8 2 5 + <_> + + 12 10 2 3 + <_> + + 13 0 2 1 + <_> + + 13 6 3 4 + <_> + + 13 9 2 3 + <_> + + 14 0 2 7 + <_> + + 14 8 2 4 + <_> + + 14 12 2 2 + <_> + + 15 0 2 7 + <_> + + 15 1 3 6 + <_> + + 15 8 2 4 + <_> + + 16 2 3 5 + <_> + + 16 5 3 4 + <_> + + 16 10 2 3 + <_> + + 16 21 2 1 + <_> + + 17 6 3 5 + <_> + + 18 15 3 3 + <_> + + 19 0 3 7 + <_> + + 19 8 3 5 + <_> + + 22 0 2 5 + <_> + + 22 0 2 6 + <_> + + 22 0 2 7 + <_> + + 22 8 2 4 + <_> + + 25 8 1 3 + <_> + + 25 10 1 2 + <_> + + 25 11 1 2 + diff --git a/openalpr_runtime/region/in.xml b/openalpr_runtime/region/in.xml new file mode 100644 index 0000000..121dccc --- /dev/null +++ b/openalpr_runtime/region/in.xml @@ -0,0 +1,369 @@ + + + + BOOST + LBP + 12 + 50 + + GAB + 9.9500000476837158e-01 + 4.4999998807907104e-01 + 9.4999999999999996e-01 + 1 + 100 + + 256 + 1 + 9 + + + <_> + 4 + -2.4375419616699219e+00 + + <_> + + 0 -1 17 -711862307 -6467369 -654189059 -15360709 -661984517 + -1146500982 -880088641 -5518849 + + -9.7931182384490967e-01 3.1999999284744263e-01 + <_> + + 0 -1 15 294154741 -2354917 286332287 1604129237 -1467438853 + -7630696 1495972863 -1080353797 + + -9.5272296667098999e-01 3.4786596894264221e-01 + <_> + + 0 -1 4 -687825955 -40824682 -784316937 -34696823 402827518 + -74841973 -2013029377 -1073869685 + + -9.0185505151748657e-01 6.0434675216674805e-01 + <_> + + 0 -1 11 -1857080655 -1076821871 -1727967009 2010911121 + -1735722533 -1211629416 176851962 -551606099 + + -9.0424102544784546e-01 6.2337487936019897e-01 + + <_> + 4 + -2.2654516696929932e+00 + + <_> + + 0 -1 21 -69207041 -10497645 -1039951129 -135288581 + -511450625 -1182064488 -72627473 -1025 + + -9.7722482681274414e-01 2.4444444477558136e-01 + <_> + + 0 -1 10 -33 -145370661 1804163039 -10526371 -108028929 + -5275505 -1953649697 -1073799173 + + -9.3023735284805298e-01 4.1309589147567749e-01 + <_> + + 0 -1 3 -141623592 -138329769 -150906403 -6324793 -259851777 + -13959029 -367281153 -269665 + + -9.1387480497360229e-01 5.6577622890472412e-01 + <_> + + 0 -1 19 2031132664 -76541807 1526781439 -3149365 -1147623191 + -94732136 -74793985 -1111794756 + + -9.2376571893692017e-01 5.6228053569793701e-01 + + <_> + 3 + -2.0670957565307617e+00 + + <_> + + 0 -1 31 -1025 -27266077 -2121794152 -137372721 -74976289 + 1240189324 -3673093 -1 + + -9.7997015714645386e-01 -2.5531914830207825e-01 + <_> + + 0 -1 22 -17 -167773973 -1116481778 -254804585 -34606125 + 1400484267 -201344073 -134217729 + + -9.3677562475204468e-01 1.1821919679641724e-01 + <_> + + 0 -1 25 -472908945 -28314697 -267390321 -302519713 + -141564945 -359431182 -70257918 -764412317 + + -8.7500095367431641e-01 5.1194375753402710e-01 + + <_> + 4 + -2.3831017017364502e+00 + + <_> + + 0 -1 1 -8388609 -10496033 -67119105 -1 -1147536385 -4460549 + -6291457 -16389 + + -9.7346252202987671e-01 -2.5641025975346565e-02 + <_> + + 0 -1 8 -268656643 -10517 -4227073 -70657 -83886113 -2434561 + -1572866 -536988689 + + -9.5494621992111206e-01 -1.7653448879718781e-01 + <_> + + 0 -1 18 767049725 -1075871751 -42991617 2147057663 + -103809025 -4625 -2129921 -1082418820 + + -9.0908873081207275e-01 2.9635757207870483e-01 + <_> + + 0 -1 28 -1073807555 -205981188 -35651585 -1073750017 + -1107492875 -67125825 -2622099 -1946165796 + + -8.8837707042694092e-01 4.5439574122428894e-01 + + <_> + 3 + -2.0030426979064941e+00 + + <_> + + 0 -1 6 -69206017 -8261 -167772161 -2097153 -262145 -4195585 + -8193 -4113 + + -9.7144657373428345e-01 1.6666667163372040e-01 + <_> + + 0 -1 23 -1213890561 -1025 -138412545 -33 -1141310465 + -67109889 -1 -1078034433 + + -9.3520402908325195e-01 -9.6896685659885406e-02 + <_> + + 0 -1 12 499654525 -1116161 -2097153 -8225 -1612972035 + -67126785 2147450879 -583681 + + -9.3469941616058350e-01 2.0055486261844635e-01 + + <_> + 4 + -2.4179658889770508e+00 + + <_> + + 0 -1 26 -1 -134217761 -778568265 -2593 -1051653 -67374085 + -9437729 -1 + + -9.6861922740936279e-01 1. + <_> + + 0 -1 16 -53 2128574455 -1084238162 -102760737 -14680089 + 1539304123 -137 -137364097 + + -9.3634587526321411e-01 -1.1718166619539261e-01 + <_> + + 0 -1 13 -33567057 -1344278049 -619220234 -1091636241 + -67174449 1855938431 -604049937 -537395201 + + -8.2525515556335449e-01 3.9416569471359253e-01 + <_> + + 0 -1 2 -1074532972 1071644671 1608458239 -1176641538 + 2105540478 2146417119 -68222977 -268436484 + + -9.0716660022735596e-01 4.3030804395675659e-01 + + <_> + 4 + -2.5507302284240723e+00 + + <_> + + 0 -1 7 -603979777 -9217 -2624001 -538968065 -6296577 + -1327685 -5505025 -1025 + + -9.6943050622940063e-01 6.3636362552642822e-01 + <_> + + 0 -1 16 -53 2130670551 -38014322 -102763810 -11537425 + -543438033 -1 -137363969 + + -9.1275703907012939e-01 4.1494268923997879e-02 + <_> + + 0 -1 9 -278869 2145375182 -586031378 -4197921 2079325310 + 937116043 -1049643 -134742018 + + -8.4034204483032227e-01 3.5779979825019836e-01 + <_> + + 0 -1 27 -16783706 -78645345 -515379844 -805841157 -2360322 + -705715269 2130433023 -672141457 + + -7.8245186805725098e-01 5.6021624803543091e-01 + + <_> + 4 + -2.2939481735229492e+00 + + <_> + + 0 -1 29 -1 -538969089 -242491909 -538979393 -1049089 + -1649557575 -1049601 -1049601 + + -9.7297865152359009e-01 -2.8000000119209290e-01 + <_> + + 0 -1 30 -1 -2298882 2072607228 -1057 -6816769 -3254071 + 1577057247 -1048641 + + -8.8414573669433594e-01 1.1597286909818649e-01 + <_> + + 0 -1 5 -302041345 -2164226 534495231 1871622106 -304103425 + -17085953 -106447105 -33841 + + -7.8541487455368042e-01 4.3383264541625977e-01 + <_> + + 0 -1 20 -402850827 -34853 -67240995 -1344603139 -12976129 + -4199489 -65546 -914379168 + + -8.7065649032592773e-01 4.4544333219528198e-01 + + <_> + 4 + -2.6368033885955811e+00 + + <_> + + 0 -1 24 -1 -1 -13640513 -211812897 -74712133 -1084233249 + -47711489 -1025 + + -9.7338962554931641e-01 -2.6923078298568726e-01 + <_> + + 0 -1 14 -1053713 -134482465 2134375898 -538976281 -5309569 + -203694201 -79693825 -1 + + -8.9801853895187378e-01 3.4832898527383804e-02 + <_> + + 0 -1 32 -536871193 -1107823393 -14419012 -1140858913 + -469794953 1941692158 -205852673 -603979865 + + -7.9554975032806396e-01 3.5559019446372986e-01 + <_> + + 0 -1 0 -806998018 -270606370 -35856898 -21049105 -1074007045 + -1049985 -84153345 -537214977 + + -9.0269690752029419e-01 3.9907047152519226e-01 + + <_> + + 0 9 8 1 + <_> + + 1 1 12 3 + <_> + + 1 6 16 2 + <_> + + 2 0 12 2 + <_> + + 2 9 9 1 + <_> + + 5 7 12 1 + <_> + + 7 1 12 2 + <_> + + 7 3 10 1 + <_> + + 7 9 4 1 + <_> + + 8 6 1 1 + <_> + + 10 2 10 3 + <_> + + 10 7 11 1 + <_> + + 12 0 2 1 + <_> + + 12 6 1 1 + <_> + + 14 4 1 1 + <_> + + 15 0 10 1 + <_> + + 16 4 1 1 + <_> + + 16 8 7 1 + <_> + + 17 0 5 1 + <_> + + 21 8 5 1 + <_> + + 22 1 5 2 + <_> + + 22 6 1 1 + <_> + + 24 5 1 1 + <_> + + 29 0 3 1 + <_> + + 30 6 1 1 + <_> + + 32 2 1 2 + <_> + + 34 1 1 3 + <_> + + 36 4 1 1 + <_> + + 37 9 3 1 + <_> + + 40 6 1 1 + <_> + + 40 6 1 2 + <_> + + 41 5 1 2 + <_> + + 42 3 2 2 + diff --git a/openalpr_runtime/region/kr2.xml b/openalpr_runtime/region/kr2.xml new file mode 100644 index 0000000..9bd921b --- /dev/null +++ b/openalpr_runtime/region/kr2.xml @@ -0,0 +1,441 @@ + + + + BOOST + LBP + 18 + 36 + + GAB + 9.9500000476837158e-01 + 5.0000000000000000e-01 + 9.4999999999999996e-01 + 1 + 100 + + 256 + 1 + 9 + + + <_> + 4 + -1.9250459671020508e+00 + + <_> + + 0 -1 3 -74058753 -2240037 92342463 -1088484449 -89392129 + -423217 -1414918657 -1074057249 + + -9.1852694749832153e-01 5.8924204111099243e-01 + <_> + + 0 -1 17 -205009214 -1056318 -766979189 -7351861 -340788289 + -73422278 -45481985 -1055745 + + -8.7003403902053833e-01 5.9477519989013672e-01 + <_> + + 0 -1 39 -737161214 1510691403 1375814019 -741344813 + -313527334 1930679011 -1173357621 -202378241 + + -7.6264554262161255e-01 6.5781676769256592e-01 + <_> + + 0 -1 22 -253570880 -35673917 1141244107 -136615525 + -336680278 2047803533 -341144917 -1410364497 + + -7.9287588596343994e-01 6.2616056203842163e-01 + + <_> + 4 + -1.8913023471832275e+00 + + <_> + + 0 -1 5 -1025 -542241 -1114391041 991897887 -4719617 + -67376401 -67109889 -4194305 + + -9.0746754407882690e-01 5.4716980457305908e-01 + <_> + + 0 -1 8 1364324831 287150263 991934431 870298523 -1179652 + -4268358 -1049089 -67133441 + + -8.3418697118759155e-01 4.1235050559043884e-01 + <_> + + 0 -1 30 -204742006 -68173282 -1035517875 -11547813 + -2006269234 -1903509269 -1043596549 -1009781761 + + -6.8528896570205688e-01 5.9535169601440430e-01 + <_> + + 0 -1 7 2102503610 -537017347 -1117805825 -6321512 -29655298 + -4461569 -67387718 -4216086 + + -7.1089631319046021e-01 5.9832674264907837e-01 + + <_> + 4 + -1.8885457515716553e+00 + + <_> + + 0 -1 24 -17409 -133121 -2156033 -2099713 -3163201 -4194305 + 1068182463 -1 + + -8.8507246971130371e-01 3.4729063510894775e-01 + <_> + + 0 -1 11 1971319519 1364712703 1906048511 1971313663 + -119537713 -1025 -2097153 -65 + + -7.6710444688796997e-01 5.2994787693023682e-01 + <_> + + 0 -1 20 421027824 -1074258088 -6447171 -1088939864 + -1076191236 -21243208 -1153916999 -1375207288 + + -7.5512754917144775e-01 4.9961245059967041e-01 + <_> + + 0 -1 21 -1069291349 -269488465 -1935007734 -1064310785 + -810833749 -320093970 -2098558838 -890246517 + + -7.1592825651168823e-01 5.1875865459442139e-01 + + <_> + 5 + -1.4479038715362549e+00 + + <_> + + 0 -1 24 -2097153 -3016225 -69780481 -2561 -543179841 + -2106917 1062144703 -1 + + -8.8085246086120605e-01 3.9553219079971313e-01 + <_> + + 0 -1 4 -11535480 -136318081 -1352213025 -33 -7340033 -5125 + -539231233 -1 + + -7.9555577039718628e-01 3.8638621568679810e-01 + <_> + + 0 -1 26 1666687567 -138419409 1431169023 1979709375 + -84938757 -67468376 2010119167 1931465710 + + -7.2934675216674805e-01 4.5863339304924011e-01 + <_> + + 0 -1 23 370751760 -1080079613 -1621633699 2145213273 + -72237121 -4460546 -1625343045 -1089963000 + + -6.7171323299407959e-01 5.2594864368438721e-01 + <_> + + 0 -1 13 -740967691 402111487 402635743 597566427 2141040639 + -626031681 -134219009 -1140876545 + + -7.4035781621932983e-01 4.8955345153808594e-01 + + <_> + 5 + -1.4493496417999268e+00 + + <_> + + 0 -1 36 -70255617 -513 -805569057 -9437193 38267119 + -81795153 1200095231 -1 + + -8.6666667461395264e-01 2.8157895803451538e-01 + <_> + + 0 -1 34 -146806269 -36709626 -275521533 -7341054 -23073297 + 1145819298 -470822709 -685260285 + + -7.5007098913192749e-01 3.8144519925117493e-01 + <_> + + 0 -1 0 -470 -420744786 -27876758 -492833849 1078935812 + 38522503 -698886814 -413669401 + + -6.8918168544769287e-01 4.7556585073471069e-01 + <_> + + 0 -1 31 -35668228 -548293156 -649062412 -683295756 + -222511140 525089516 -84096259 -547488772 + + -7.3100674152374268e-01 4.4898805022239685e-01 + <_> + + 0 -1 15 530626809 -42860545 462826171 -1342320837 + -1081132033 -17953 991895727 -1076164673 + + -7.0868730545043945e-01 4.6778148412704468e-01 + + <_> + 5 + -1.8017189502716064e+00 + + <_> + + 0 -1 9 -65537 -328706 -4915201 -1087755586 -67239937 -5669 + -1 -257 + + -8.8792204856872559e-01 -4.3837882578372955e-02 + <_> + + 0 -1 32 1347550207 -571148323 1543487487 -35651587 828322815 + -1700 335492091 -2097155 + + -7.3766022920608521e-01 3.4690326452255249e-01 + <_> + + 0 -1 25 -9846 1605333483 -1059752448 -1812996489 1120071946 + 1455643262 917870242 -680009761 + + -7.2934591770172119e-01 3.9320716261863708e-01 + <_> + + 0 -1 38 -473174014 2053046126 -134357141 -137895969 + -1074790417 -67121353 -1179649 -152043561 + + -6.9844788312911987e-01 4.0797707438468933e-01 + <_> + + 0 -1 19 -691606870 -201856018 1198436335 1476325343 + -571216913 -134486513 -51401745 -302518322 + + -7.1498012542724609e-01 4.5069092512130737e-01 + + <_> + 5 + -1.7567682266235352e+00 + + <_> + + 0 -1 2 -513 -513 -35800577 1071593915 -3407873 -4423 + -2424833 -1 + + -8.7326997518539429e-01 8.5594989359378815e-02 + <_> + + 0 -1 14 -671154178 -69533698 -1617387522 531245730 + 2147213310 -269943809 -154207233 -5608513 + + -7.5811719894409180e-01 2.2069078683853149e-01 + <_> + + 0 -1 18 1035212284 -2296420 555221692 -1113652072 2140332029 + -5711169 -1080512518 -1074218515 + + -7.2789901494979858e-01 3.4770554304122925e-01 + <_> + + 0 -1 29 -993533265 -170137041 1736835031 1465382903 + 1120924671 -353441050 1615000047 78111731 + + -7.4440920352935791e-01 3.7494036555290222e-01 + <_> + + 0 -1 1 -1638622 -75910 1059633056 -271627282 -8929355 + -2887681 -336725058 1603272574 + + -7.9733246564865112e-01 3.6811915040016174e-01 + + <_> + 5 + -1.6873530149459839e+00 + + <_> + + 0 -1 6 -1 -17409 -1075970081 1067395503 -104465153 -2296833 + -1048833 -5 + + -8.8755303621292114e-01 -1.0392609983682632e-01 + <_> + + 0 -1 33 -140779553 -2819075 -144859137 -1048609 1400850413 + -69476625 858985387 -67111937 + + -6.8982315063476562e-01 3.1153544783592224e-01 + <_> + + 0 -1 40 -67114361 1074756399 -1835343310 1611136899 + 2103432003 6145295 -458536794 -251922697 + + -5.9810346364974976e-01 4.8262387514114380e-01 + <_> + + 0 -1 12 916468092 -368898 -1617880065 736960766 1918926780 + -69683 -1049089 -34838 + + -6.5626806020736694e-01 4.2501708865165710e-01 + <_> + + 0 -1 37 -1107517956 1039792092 498074680 -1078117488 + -1075904580 -333315 -806273124 -1145135624 + + -6.4059084653854370e-01 4.1962918639183044e-01 + + <_> + 5 + -1.4620362520217896e+00 + + <_> + + 0 -1 27 -67110145 -1061 -578823942 -1413 -3146753 -7810486 + -263429 -1051909 + + -8.4640258550643921e-01 1.0389610379934311e-01 + <_> + + 0 -1 10 178948351 -536880385 -2629765 -1060867 -1409352705 + -286305 -1108431937 -1347517236 + + -6.6707128286361694e-01 3.3162760734558105e-01 + <_> + + 0 -1 16 -202923265 -67115041 -347365205 1539287789 + -135535625 -201592101 -275779841 -338695441 + + -5.3917574882507324e-01 5.0910735130310059e-01 + <_> + + 0 -1 35 -167773242 -153094230 -2021362640 1066198967 + -249269048 1441035252 925758395 1570237951 + + -6.9788902997970581e-01 3.8413587212562561e-01 + <_> + + 0 -1 28 2135129856 2013224111 -35652133 2145381311 -4718600 + -524289 -542114934 -11862262 + + -7.1007943153381348e-01 3.6536604166030884e-01 + + <_> + + 0 3 1 2 + <_> + + 0 5 4 4 + <_> + + 1 3 7 2 + <_> + + 1 3 11 2 + <_> + + 2 2 3 5 + <_> + + 2 3 7 2 + <_> + + 2 3 8 2 + <_> + + 3 0 10 3 + <_> + + 3 4 5 2 + <_> + + 3 4 7 1 + <_> + + 4 0 7 1 + <_> + + 4 2 4 4 + <_> + + 4 5 5 1 + <_> + + 5 3 4 2 + <_> + + 6 4 4 1 + <_> + + 7 3 9 2 + <_> + + 8 1 3 3 + <_> + + 8 4 4 3 + <_> + + 8 15 4 1 + <_> + + 9 3 3 3 + <_> + + 9 15 7 1 + <_> + + 10 2 2 3 + <_> + + 11 4 2 2 + <_> + + 12 0 7 1 + <_> + + 13 3 7 2 + <_> + + 13 9 2 2 + <_> + + 14 0 3 5 + <_> + + 14 2 3 2 + <_> + + 16 0 5 2 + <_> + + 16 3 2 3 + <_> + + 17 3 2 4 + <_> + + 18 12 3 2 + <_> + + 19 4 5 2 + <_> + + 20 3 4 2 + <_> + + 21 0 2 4 + <_> + + 22 8 2 3 + <_> + + 23 2 3 4 + <_> + + 26 15 3 1 + <_> + + 27 3 3 4 + <_> + + 29 3 2 4 + <_> + + 33 6 1 2 + diff --git a/openalpr_runtime/region/vn2.xml b/openalpr_runtime/region/vn2.xml new file mode 100755 index 0000000..28d96e6 --- /dev/null +++ b/openalpr_runtime/region/vn2.xml @@ -0,0 +1,625 @@ + + + + BOOST + LBP + 20 + 28 + + GAB + 9.9500000476837158e-01 + 4.4999998807907104e-01 + 9.4999999999999996e-01 + 1 + 100 + + 256 + 1 + 11 + + + <_> + 5 + -1.0226867198944092e+00 + + <_> + + 0 -1 3 -236978690 -71328259 1469446622 -41985 300805055 + 1974514928 -341061633 -1 + + -8.1343281269073486e-01 5.4749196767807007e-01 + <_> + + 0 -1 47 -1068506578 -535837126 -2139095038 -1065140221 + -1073493873 1073774592 -1056185469 -203425825 + + -6.8157231807708740e-01 6.2008899450302124e-01 + <_> + + 0 -1 8 -882644473 6749795 -1069291346 -2140212948 1350526835 + 84000771 -786963725 -403177497 + + -6.5852028131484985e-01 5.9720140695571899e-01 + <_> + + 0 -1 55 -1959252296 -2389544 -721100803 -6546476 -1240731201 + -1077882627 -1080099841 -1141371716 + + -6.6024768352508545e-01 5.6097584962844849e-01 + <_> + + 0 -1 13 -957023424 1876153335 -629018556 -1009843309 + -527056715 -1831865877 868609770 -1350571009 + + -6.3601404428482056e-01 5.6986278295516968e-01 + + <_> + 5 + -1.1183853149414062e+00 + + <_> + + 0 -1 34 -1087352324 -2420483 1372910047 2113212445 + -1148650759 -106239812 -1148650566 -1683482424 + + -8.1584769487380981e-01 3.6146789789199829e-01 + <_> + + 0 -1 36 -796671862 -796737406 1363214376 1573376133 + 1342235266 1073741825 1359870346 -606085153 + + -6.9792109727859497e-01 5.0962162017822266e-01 + <_> + + 0 -1 43 -1596738302 -738756081 -1291747361 -137389281 + -915801681 -91504437 -1413752657 -1347442137 + + -6.6823571920394897e-01 5.3261423110961914e-01 + <_> + + 0 -1 5 -208153610 -237777985 -1626780180 -2626532 + -1148627972 1912312479 -83100674 1504688623 + + -6.7626368999481201e-01 5.1578819751739502e-01 + <_> + + 0 -1 18 -1110436427 -141552556 -788442881 1059033301 + -1719130691 -1178345416 -1102521443 -1423963940 + + -6.2948453426361084e-01 6.0341739654541016e-01 + + <_> + 5 + -1.9752599000930786e+00 + + <_> + + 0 -1 27 -1785702947 -547547947 -1761485315 -191011 + -1995924485 -72740104 -1095976257 -1086846584 + + -7.5782203674316406e-01 4.6846845746040344e-01 + <_> + + 0 -1 39 1360056540 1607733652 1363221981 -2404139 + -1115123526 -1717827448 1048783807 -1079312374 + + -6.4150768518447876e-01 5.1527595520019531e-01 + <_> + + 0 -1 44 -1060126074 -238824509 536903680 1363780187 688994 + 1342193665 -788413717 -614474865 + + -5.6712394952774048e-01 5.3354203701019287e-01 + <_> + + 0 -1 50 -1 1073537022 -285212675 -1082261513 -266243 + -1619984385 -536904452 2079972863 + + -5.3560340404510498e-01 6.0510307550430298e-01 + <_> + + 0 -1 23 571474481 869470705 219369951 2113346335 -1859444519 + -1073801157 262856381 993657368 + + -6.9949334859848022e-01 4.7212797403335571e-01 + + <_> + 5 + -1.1232472658157349e+00 + + <_> + + 0 -1 54 -209198525 1413661190 200706 -1031028670 1342246978 + 1090683040 -1320974197 -201326641 + + -7.6172041893005371e-01 3.1445312500000000e-01 + <_> + + 0 -1 15 -562303134 -351020713 -687681060 -278937155 + 2074210739 2073986273 -74059777 -65 + + -6.4060848951339722e-01 4.7522404789924622e-01 + <_> + + 0 -1 19 457708756 -1122564679 298209791 2100761337 + -1153410374 -23527032 -1146312257 -1180169800 + + -6.1004692316055298e-01 5.2203148603439331e-01 + <_> + + 0 -1 56 -857758202 181110223 -326838386 1890572927 + 1772073743 556974267 -67110257 -268436546 + + -6.1680519580841064e-01 5.0427693128585815e-01 + <_> + + 0 -1 35 966284540 -1861185520 -2128946723 1599144983 + -1568640262 -812021606 -1082090808 186259912 + + -6.8607240915298462e-01 4.8699402809143066e-01 + + <_> + 5 + -1.1578670740127563e+00 + + <_> + + 0 -1 17 -68170961 -293084402 1224843871 -536349562 + 1914930007 1615036999 -427568249 -173015109 + + -7.0355576276779175e-01 3.6879432201385498e-01 + <_> + + 0 -1 38 -225984374 -1339698556 8503296 1397211650 17690282 + 1026 1428418698 -706742369 + + -6.1560535430908203e-01 4.2747393250465393e-01 + <_> + + 0 -1 28 1367400440 353696080 -778858247 2111820247 23722697 + 1085485 199917759 455060462 + + -6.7115384340286255e-01 4.1770645976066589e-01 + <_> + + 0 -1 7 1977602766 1365111615 -1121728050 -75506241 + 1904999412 1342548476 -75269489 -2099009 + + -7.1227186918258667e-01 3.8815173506736755e-01 + <_> + + 0 -1 33 -754195830 -804126526 285313328 287547920 + -1073026872 -2113927040 -1073495932 -788012309 + + -5.5254626274108887e-01 5.0164043903350830e-01 + + <_> + 6 + -8.1348818540573120e-01 + + <_> + + 0 -1 14 320344829 -74104167 428873215 -551614349 -2136303362 + -108412247 788179407 -1616373368 + + -7.2034955024719238e-01 2.9809725284576416e-01 + <_> + + 0 -1 4 -704643113 -4533929 1082326870 -7810978 1352882687 + 2125561071 1786216411 -8209 + + -5.1959729194641113e-01 5.5615991353988647e-01 + <_> + + 0 -1 53 -243801590 -802967637 1426271746 -1007683850 + -719071406 1342486726 -173605946 -218628353 + + -5.2952307462692261e-01 5.4032027721405029e-01 + <_> + + 0 -1 26 -1719397360 -33811304 530659327 1073021083 + 1342178488 -1197471567 1332354559 221188457 + + -6.9718199968338013e-01 4.0761217474937439e-01 + <_> + + 0 -1 32 774911472 -270794532 -251332257 357829517 + -1183835398 -1412759130 1653264319 173019184 + + -8.4420329332351685e-01 3.1606295704841614e-01 + <_> + + 0 -1 9 -33554641 1079180070 -649870898 -560999525 1822128983 + 1622257847 -557127169 -247473492 + + -6.3315248489379883e-01 4.0907686948776245e-01 + + <_> + 5 + -1.0814472436904907e+00 + + <_> + + 0 -1 60 -269489361 1340063903 -2112495645 -186662433 + -88871577 160158602 -73665789 -135528513 + + -7.2124838829040527e-01 2.3564356565475464e-01 + <_> + + 0 -1 1 1147561570 -8231937 -220728609 -3718145 1883448309 + -180711173 -120018177 -268738097 + + -7.1248924732208252e-01 2.9627996683120728e-01 + <_> + + 0 -1 16 -143657486 803066203 -641576488 -1346414113 + 2038822369 1527474988 -170528044 -269615161 + + -6.1012923717498779e-01 3.9779847860336304e-01 + <_> + + 0 -1 42 -208674686 -778570287 -972684030 -772808502 + -1608535872 1174671461 1456465871 1930416427 + + -5.7085311412811279e-01 4.4576171040534973e-01 + <_> + + 0 -1 6 1060821245 -4636683 -1094763521 1039835037 -4436487 + -557998850 -16998435 -1349909272 + + -4.3154692649841309e-01 6.0856270790100098e-01 + + <_> + 5 + -1.0268830060958862e+00 + + <_> + + 0 -1 58 -268439793 1842990043 -850919954 -6303489 1873804103 + 868219595 -69484857 -4194305 + + -7.6132076978683472e-01 1.3425549864768982e-01 + <_> + + 0 -1 51 -550508545 918351897 -140393124 -1784757941 + -70477123 964518571 -617522756 -4205059 + + -5.9086549282073975e-01 3.8894322514533997e-01 + <_> + + 0 -1 41 -248266622 -739784177 -2141289952 -174370260 + 1624499111 268931154 1074787021 -210767953 + + -5.2205401659011841e-01 4.8417466878890991e-01 + <_> + + 0 -1 0 -1525134091 -1109897859 -1660522017 -1644247684 + 2074655422 -1146365853 -1975981059 -1977334748 + + -5.8343207836151123e-01 4.1282418370246887e-01 + <_> + + 0 -1 59 -814749150 -1044386650 -974208256 -570560821 + 1852832912 295171443 -415239197 -1283458081 + + -4.4459566473960876e-01 5.5129295587539673e-01 + + <_> + 7 + -1.3468582630157471e+00 + + <_> + + 0 -1 48 -22544385 -268373114 -315937931 -1707545 -1078199041 + -134163304 -477295989 -1050113 + + -6.5963971614837646e-01 3.6756756901741028e-01 + <_> + + 0 -1 2 1879015207 542897023 -652233029 -461379155 + -1618347145 1912720139 -34868294 -218103817 + + -6.0403579473495483e-01 3.4924373030662537e-01 + <_> + + 0 -1 22 470828248 -6851716 358111701 -195361684 973667294 + -1090908119 -1113556485 993534360 + + -7.1156060695648193e-01 3.0485236644744873e-01 + <_> + + 0 -1 46 -475012190 -468764761 -940574656 -1313374241 + -672152701 1350922110 -424151066 -137363457 + + -4.6654438972473145e-01 4.8787227272987366e-01 + <_> + + 0 -1 24 895540479 -4213861 1371697377 1000022554 268436724 + -96456319 -987466515 -66885 + + -4.8980873823165894e-01 4.9601224064826965e-01 + <_> + + 0 -1 10 830986078 978498018 1212634268 -7868086 -338953233 + 1955102955 2076283886 2121920686 + + -7.6825737953186035e-01 3.0441379547119141e-01 + <_> + + 0 -1 49 -464527326 -266403822 61910 -764964158 -804131566 + 690462785 105570303 -492711073 + + -6.0366225242614746e-01 3.9621585607528687e-01 + + <_> + 6 + -1.7895716428756714e+00 + + <_> + + 0 -1 21 1364573183 -582112869 2058695295 -6161477 + -1357251393 -662336771 -89413125 -3556673 + + -6.8916153907775879e-01 2.6106193661689758e-01 + <_> + + 0 -1 30 -1657268752 -45612848 486638045 1067013433 + -363278408 -1732736120 -1614242561 523377052 + + -6.9656443595886230e-01 3.0079075694084167e-01 + <_> + + 0 -1 45 -385876192 1524605990 -2059037737 -2645738 + -1884430347 -542584354 1737419071 692039206 + + -6.3620084524154663e-01 3.1837970018386841e-01 + <_> + + 0 -1 12 -279972306 -1360670259 -1823676278 -87565865 + 1161158962 2003271952 -878236737 -203951493 + + -6.3273507356643677e-01 3.5124236345291138e-01 + <_> + + 0 -1 40 -715361008 -1756993828 -2084937297 -36753112 + -1299701250 2074255770 -2096715345 153813130 + + -6.5382730960845947e-01 3.5776382684707642e-01 + <_> + + 0 -1 20 -1818091375 -741326623 -691960385 -1116518535 + -1333224993 -560015974 -1901407763 -1346762324 + + -4.9002870917320251e-01 4.4960626959800720e-01 + + <_> + 7 + -1.0691219568252563e+00 + + <_> + + 0 -1 37 -81003525 461435274 -1012705865 -10497345 -350241793 + -91580696 2005598335 -7249 + + -6.5210670232772827e-01 3.1233596801757812e-01 + <_> + + 0 -1 57 -826278137 1217917183 -1265116640 1813248574 + 1159199588 1243425723 -473966044 -520881157 + + -6.4328962564468384e-01 3.0107370018959045e-01 + <_> + + 0 -1 29 -546572126 -184109686 1342882304 -754068276 + 1653012961 1074103457 1090766283 868218843 + + -5.6011921167373657e-01 3.4936606884002686e-01 + <_> + + 0 -1 31 1980780701 -1115998562 296448463 -121827015 + -1147606888 -1346840419 985705599 -1625683479 + + -4.6067923307418823e-01 4.4133010506629944e-01 + <_> + + 0 -1 11 1189554799 1319077781 1998031309 -22283985 833051954 + 1385818172 -138953845 -1879377169 + + -5.6165486574172974e-01 3.9155927300453186e-01 + <_> + + 0 -1 52 -653270518 1105913099 -1022296000 -796692293 + 690149379 1359175685 -218376541 -1297088609 + + -5.0313746929168701e-01 4.5016640424728394e-01 + <_> + + 0 -1 25 1677398999 -9492915 -1460127170 597994023 + -2143238736 -657328155 -166293761 -1611679921 + + -4.3750682473182678e-01 5.0037056207656860e-01 + + <_> + + 0 0 3 1 + <_> + + 0 2 7 3 + <_> + + 0 4 2 2 + <_> + + 0 4 9 5 + <_> + + 0 8 4 4 + <_> + + 0 9 9 3 + <_> + + 1 0 5 1 + <_> + + 1 4 9 3 + <_> + + 1 5 2 3 + <_> + + 1 6 2 1 + <_> + + 1 7 9 4 + <_> + + 2 4 2 1 + <_> + + 2 6 3 1 + <_> + + 3 1 3 5 + <_> + + 3 1 7 1 + <_> + + 3 3 3 3 + <_> + + 3 4 3 3 + <_> + + 3 5 1 3 + <_> + + 4 0 3 1 + <_> + + 4 17 3 1 + <_> + + 5 1 3 1 + <_> + + 5 2 6 4 + <_> + + 5 15 4 1 + <_> + + 6 2 4 1 + <_> + + 6 6 4 2 + <_> + + 6 7 3 2 + <_> + + 6 8 4 1 + <_> + + 6 16 4 1 + <_> + + 7 7 5 1 + <_> + + 7 11 1 1 + <_> + + 7 14 4 1 + <_> + + 7 15 4 1 + <_> + + 8 16 4 1 + <_> + + 9 7 1 2 + <_> + + 9 15 4 1 + <_> + + 9 15 5 1 + <_> + + 10 5 1 3 + <_> + + 10 5 4 3 + <_> + + 10 6 1 3 + <_> + + 10 8 3 1 + <_> + + 10 9 3 1 + <_> + + 11 5 1 3 + <_> + + 11 9 1 2 + <_> + + 12 0 5 3 + <_> + + 12 5 1 3 + <_> + + 13 0 5 4 + <_> + + 13 5 1 1 + <_> + + 13 5 1 3 + <_> + + 13 5 3 3 + <_> + + 13 7 1 2 + <_> + + 13 8 5 4 + <_> + + 13 11 5 3 + <_> + + 14 5 1 1 + <_> + + 14 5 1 3 + <_> + + 15 5 1 3 + <_> + + 16 0 2 1 + <_> + + 16 5 2 1 + <_> + + 17 6 3 3 + <_> + + 18 5 2 1 + <_> + + 19 11 1 1 + <_> + + 22 6 1 1 + diff --git a/package.json b/package.json index faf43e2..de965dd 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { "name": "node-openalpr", "description": "Node.js OpenALPR Bindings", - "version": "1.1.1", + "version": "1.1.3", "license": "AGPL", "keywords": [ - "bindings", - "license", - "plate", - "recognition", - "lpr", - "openalpr" + "bindings", + "license", + "plate", + "recognition", + "lpr", + "openalpr" ], "author": { "name": "netPark", @@ -24,7 +24,7 @@ ], "repository": { "type": "git", - "url": "git://github.com/netPark/node-openalpr.git" + "url": "git@github.com:Sneko/node-openalpr.git" }, "dependencies": { "fs-extra": "^0.23.1", diff --git a/src/node_openalpr.cc b/src/node_openalpr.cc index 286e0f7..bdc6e20 100644 --- a/src/node_openalpr.cc +++ b/src/node_openalpr.cc @@ -32,10 +32,9 @@ class LPRQueueItem class LPR { public: - LPR (std::string configFile = "", std::string runtimePath = "") { - this->openalpr = new alpr::Alpr ("us", configFile, runtimePath); + LPR (std::string configFile = "", std::string runtimePath = "", std::string plateRegion = "us") { + this->openalpr = new alpr::Alpr (plateRegion, configFile, runtimePath); this->openalpr->setTopN (10); - this->config = this->openalpr->getConfig (); } ~LPR () { @@ -49,8 +48,7 @@ class LPR { alpr::AlprResults recognize (LPRQueueItem *queueItem) { this->openalpr->setDefaultRegion (queueItem->state); this->openalpr->setDetectRegion (queueItem->detectRegion); - this->config->prewarp = queueItem->prewarp; - + this->openalpr->setPrewarp(queueItem->prewarp); std::ifstream ifs (queueItem->path, std::ios::binary|std::ios::ate); std::ifstream::pos_type pos = ifs.tellg (); std::vector buffer(pos); @@ -139,10 +137,11 @@ NAN_METHOD (Start) char *config_path = get (info[0]); char *runtime_path = get (info[1]); int instancesCount = info[2]->NumberValue (); + char *plate_region = get (info[3]); // Create a list of instances, if any fail to load return false for (int i = 0; i < instancesCount; i++) { - LPR *lpr = new LPR (config_path, runtime_path); + LPR *lpr = new LPR (config_path, runtime_path, plate_region); if (lpr->isLoaded () == false) { info.GetReturnValue ().Set (false); } @@ -262,4 +261,4 @@ NAN_MODULE_INIT (InitAll) { Nan::Set (target, Nan::New("CheckQueue").ToLocalChecked (), Nan::GetFunction (Nan::New(CheckQueue)).ToLocalChecked ()); } -NODE_MODULE(node_openalpr, InitAll); +NODE_MODULE(node_openalpr, InitAll); \ No newline at end of file diff --git a/src/openalpr.js b/src/openalpr.js index 106e0f2..6345366 100644 --- a/src/openalpr.js +++ b/src/openalpr.js @@ -28,7 +28,7 @@ function OpenALPR () { * @param int count Amount of OpenALPR threads to startup [Default: System CPU count] * @param bool start_queue Auto-start queuing [Default: true] */ - this.Start = function (config, runtime, count, start_queue) { + this.Start = function (config, runtime, count, start_queue, region) { if (initialized) { return true; } @@ -43,7 +43,7 @@ function OpenALPR () { var cpu_count = os.cpus ().length; - initialized = nativeLPR.Start (config || "", runtime || "", count || cpu_count, function (reason) { + initialized = nativeLPR.Start (config || "", runtime || "", count || cpu_count, region || "us", function (reason) { console.log ("OpenALPR Stopped " + reason); }); @@ -155,4 +155,4 @@ function OpenALPR () { } } -module.exports = new OpenALPR (); +module.exports = new OpenALPR (); \ No newline at end of file