能的,比如云脉的车牌识别系统的API开发就可以支持Java、C++、C、object pascal及 objective-C等多种语言。
创新互联是专业的华宁网站建设公司,华宁接单;提供成都做网站、成都网站制作、成都外贸网站建设,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行华宁网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
boolean flag = false;
System.out.println("请输入车牌号!");
do{
String carNumber = sc.next();
flag = carNumber.matches("(?i)^(CA|AZ|CO)[0-9]{4}$");
if(!flag){
System.out.println("车牌号不正确,请重新输入!");
}else{
System.out.println("车牌号正确!车牌号为:"+carNumber.toUpperCase());
}
}while(!flag);
}
package demo;
import java.util.Scanner;
public class CarCard {
//浙A 杭州,浙B 宁波,浙C 温州,浙D 绍兴,浙E 湖州,浙F 嘉兴,浙G 金华,浙H 衢州,浙J 台州,浙K 丽水,浙L 舟山
//网上搜的,应该是对的,这个东西应该管你要
public static void main(String[] args) {
System.out.println("请输入车牌号");
Scanner sc = new Scanner(System.in);
String carno = sc.next();
String t = carno.substring(0,2);
checkAddressByCarCard(t);
}
private static void checkAddressByCarCard(String no){
String a[]={"浙A","浙B","浙C","浙D","浙E","浙F","浙G","浙H","浙J","浙K","浙L"};
String b[]={"杭州","宁波","温州","绍兴","湖州","嘉兴","金华","衢州","台州","丽水","舟山"};
int index = 0;
for(int i = 0;i11;i++){
if(no.equalsIgnoreCase(a[i])){
index=i;
System.out.println("车辆所在地为:"+b[i]);
}
}
}
}
//不严谨,但是基本功能实现了