I am working with JavaAnpr to automatically recognize license plates. While it works well with European license plates, it doesn't with my country. For example;

How could I edit the recourse files and syntax XML to support other countries?

解决方案

@michel_layyous - Here's the documentation by the author. Read Page 57:

http://javaanpr.sourceforge.net/anpr.pdf

syntax.xml is essentially a regex file.

This Russian license plate pattern is 8 characters. The first character can be any of those letters. The next 3 characters can be any number from their respective set. The next 2 characters can be any of those letters from their respective set, and the last 2 characters can be any of those letters from their respective set.

The next Russian license plate is just like the first Russian license plate, except one key difference:

The 6th character can only be a 0, 1, or 2.

I found a very similar license plate for your country, however it consists of two rows. The first two numbers are on the top row, and there are 5 numbers on the bottom row. It looks like your country has 7 digits for your particular style of plate. I don't how the dot factors into the recognition of your plate, however, Page 58 of the author's documentation states:

The correction of a plate means the replacement of

each invalid character by another one. If the

character

( )

i

p

at the i

th

position of the plate

P

does not match the selected pattern

( )

`

sel

P

, it will

be replaced by the first valid one from

( )

s

y

.

( )

s

y

is a sorted vector of output activities denoting

how much the recognized character is similar to an

individual character from the alphabet.

Heuristic analysis of a segmented plate can sometim

es incorrectly evaluate non-character

elements as characters. Acceptance of the non-chara

cter elements causes that the recognized

plate will contain redundant characters. Redundant

characters occur usually on sides of the

plate, but rarely in the middle.

If the recognized plate number is longer than the l

ongest syntax pattern, we can select the

nearest pattern, and drop the redundant characters

according to it.

java本地外地号码,将JavaAnpr本地化为本地牌照相关推荐

  1. Vos如何在外地号码前自动加0,本地号码前不加0

    如何设置拨打外地手机号码自动加0前缀,拨打本地手机号不加0前缀(以本地手机为南京地区为例) 第一步:vos平台,号码管理----手机地区,导入手机区号表(这张表可以由我公司提供,但是准确程度需要您自己 ...

  2. java用itextPDF生成PDF文件保存至本地并上传至ftp服务器

    标题java用itextPDF生成PDF文件保存至本地并上传至ftp服务器 所需jar :itext-asian-5.2.0.jar,itextpdf-5.5.5.jar,commons-net-3. ...

  3. java 动态导出excel表单 无模板本地生成

    java 动态导出excel表单 无模板本地生成 这里使用的是alibaba的公共类excelWriter,注意在pom文件中要引入easyExcel的依赖 public void exportExc ...

  4. java工程mvn引用jar_maven 项目加载本地JAR

    将jar安装到本地的maven仓库 1.首先确定本地有maven环境. 2.安装本地jar 模板: mvn install:install-file -Dfile= -DgroupId= -Darti ...

  5. java h5 桌面应用_用HTML5打造本地桌面应用

    本文作者html5tricks,转载请注明出处 在手机端,有一个非常棒的工具叫做PhoneGap,使用这个快速开发平台,任何人都可以使用HTML5+CSS3+JavaScript开发出安卓,iOS等应 ...

  6. 获取远程服务器代码到本地文件,获取远程服务器代码到本地文件

    获取远程服务器代码到本地文件 内容精选 换一换 远程桌面协议(Remote Desktop Protocol,RDP),是微软提供的多通道的远程登录协议.本节为您介绍如何使用RDP文件远程登录Wind ...

  7. php 图片保存到本地文件,php 远程图片保存到本地的函数类

    php 远程图片保存到本地的函数类 发布于 2014-10-06 14:15:40 | 78 次阅读 | 评论: 0 | 来源: 网友投递 PHP开源脚本语言PHP(外文名: Hypertext Pr ...

  8. html调用点击运行本地py文件,实现HTML调用打开本地软件文件

    有时候我们想要实现一个功能,就是在HTML页面点击一个链接就能调用打开本地可执行文件.就像腾讯QQ.迅雷这种. 而实现这种功能其实也很简单,就是需要我们添加修改注册表,实现自定义URL Protoco ...

  9. java验证身份证号码是否有效源代码

    转载自   java验证身份证号码是否有效源代码 1.描述 用java语言判断身份证号码是否有效,地区码.出身年月.校验码等验证算法 2.源代码 package test; import java.t ...

  10. 计算机本地无法连接失败怎么办,本地连接连不上怎么办?本地连接连不上解决方法...

    导语:网络已经走入千家万户,成为人们社交.购物.娱乐的重要媒介.人们的生活和工作现在很大程度上的都要依赖网络,所以网络已经走入寻常百姓家, 网线 也随着来到了千家万户.但是,我们在使用网络的时候,会经 ...

最新文章

  1. 分布式信息采集服务器,Plumber分布式数据采集系统(一)架构与监控心跳
  2. __METHOD__
  3. [转载]如何将Putty生成的PrivateKey转换为SecureCRT所需的PublicKey
  4. PS图像菜单下计算命令
  5. python和excell_Python与Excel 不得不说的事情
  6. 免费送书的网站-每人限一本
  7. WCF把书读薄(4)——事务编程与可靠会话
  8. Viso各版本网盘免费下载
  9. studioone机架效果模板_贾爽:带你认识StudioOne机架自带效果链的音效处理插件
  10. windows操作快捷键
  11. JSAPI微信支付java
  12. PowerBI获取报表使用指标
  13. 戴尔服务器盘柜盘故障分析
  14. 考试排座位顺序,要求校内同班不相邻
  15. arduino pwm电机调速程序
  16. 玩转Google cloud(二)
  17. 分享一个小清新的论坛源码
  18. 此计算机策略设置不允许安装win,Win10设置了系统策略禁止进行此安装怎么解决?...
  19. m基于GA遗传优化+SA模拟退火的混合改进算法的多产品多机器生产优化matlab仿真
  20. 一个有关浮力的物理题

热门文章

  1. enumerate和iter的使用
  2. ZYNQ芯片软硬件协同开发二:最简Linux操作系统的硬件部分设计
  3. ubuntu安装中文拼音输入法,装系统的第一步
  4. Java 编写程序,求出几何形状(长方形、正方形、圆形)的周长和面积。
  5. Hexo中yilia主题使用问题总结
  6. Mstar 6A628 ubuntu 14.04 server Android 开发环境搭建
  7. Microsoft PPT文本框里首行缩进单位只能默认为厘米而不能设置为“字符”等其他单位?
  8. JavaScript 每日一题 #10
  9. e4a 安卓获取ROOT权限的方法思路 转载
  10. 苹果app退款_app退款理由写什么好?苹果退款理由怎么写才好?