|
 |
|
09-01-2008, 04:09 PM
|
#1
|
|
Newbie
Join Date: Feb 2007
Posts: 2
|
Automatic Number Plate Recognition (anpr)
i got a idea today i want to know if any one is interested for building a app for anpr and have a database of all the undercover police cars and have a website with lists of them by country
here is a java app i found to do it but needs some work to get it webcam and to use databases and then alarm to say one has been spoted
i got the full source files for it and it open source
i haven't much i idea about java but am good with building the site for it
let me know what you think
Last edited by chris666uk1; 09-01-2008 at 04:12 PM..
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
09-01-2008, 05:58 PM
|
#2
|
|
Newbie
Join Date: May 2008
Posts: 30
|
Why would you want to know the reg's of all the undercover police cars?
j
|
|
|
09-01-2008, 07:59 PM
|
#3
|
|
Variable Bitrate
Join Date: Jul 2003
Location: Dunedin - New Zealand
Posts: 427
|
Quote: Originally Posted by Greeno2k8 
Why would you want to know the reg's of all the undercover police cars?
j
I would guess, so you could rcognise them. Provided you have excellent eye sight and could see them before they see you.
__________________
We are, will have and forever will be...
But not tommorrow!
|
|
|
09-01-2008, 09:30 PM
|
#4
|
|
Variable Bitrate
Join Date: Feb 2008
Posts: 431
|
no, his idea was to have a program running in conjunction with a webcam to auto detect and alert to police cars.
1. I don't know a web cam with decent enough quality for this to work well
2. seems like a LOT of work for VERY little gain
3. you could never be certain that the database was 100% up to date.
4. why not just use a regular radar/laser/whatever detector?
5. how about just driving like a sane person?
|
|
|
09-02-2008, 07:19 AM
|
#5
|
|
Neither darque nor pervert
Join Date: Apr 2004
Location: Elsewhere
Posts: 12,884
|
It's impossible to have a database of undercover police cars, actually.
Coming from an undercover cop, I know the cars are registered to the undercover aliases and are no different than any other vehicle registration.
Now, it's possible you could compile a list of unmarked police vehicles, which are a whole other matter entirely.
__________________
LOOKING FOR THE FAQ? IT'S HERE.
You never found that link, did you? Why? It's hard to find in the NavBar across the top of the forums, amongst a lot of other crap.
TELL MP3CAR YOU WANT A LINK TO THE FAQ IN A MORE OBVIOUS, NOTICABLE LOCATION HERE.
|
|
|
10-16-2008, 10:30 PM
|
#6
|
|
Newbie
Join Date: Apr 2006
Location: Greensboro, NC
Posts: 12
|
Just for fun ANPR
Just for laughs... Here is a Perl script that I run while taking photos of plates that looks for images/screenshots from my camera and runs them through the JavaANPR application and records my current GPS location with a date and time stamp. I execute this script from the \javaanpr\dist folder. You will need ActiveState ActivePerl. You will also need the GPS::NMEA module installed. Just for fun!
## Script for automatic processing of (license plates) number plates from a CarPC camera using JavaANPR and a GPS unit
## Location of image captures jpg or png files
$path = 'C:\\Documents and Settings\\UserName\\My Documents\\My Pictures\\';
## Destination to place images processed by javaanpr
$pathdest = 'C:\\Plates\\';
## File ext. to search for
$fileextwewant = "png";
## GPS module
use GPS::NMEA;
## Connect to our GPS device
my $gps = GPS::NMEA->new(Port => 'COM4', # or COM5: or ev/ttyS0 Baud => 4800);
while (1) {
## Check every two seconds for a new image
sleep(2);
## Open the folder containing the images
opendir (DIR, "$path") or die "Couldn't open directory, $!";
## Get a list of the files in the folder and place the list in a array
@file = readdir DIR;
$lengthoflist = @file;
## I can count!
$counter = 0;
while ($counter <= $lengthoflist)
{
$fileext = $file[$counter];
## Get the last three chars of the file name (the ext)
$fileext = substr($fileext, -3);
## Check if the file is a file we want to process
if ($fileext eq $fileextwewant) {
## Load the File module for moving the files around
use File::Copy;
## Create the name of the destination folder, it will be the image name with ANPR added to the front
$newfoldername = "ANPR$file[$counter]";
$newfoldernamewithpath = "$pathdest$newfoldername";
## Issue the OS command to make the folder
system("mkdir $newfoldernamewithpath");
## We will now move the file from the screenshot folder to is destination
$oldlocation = "$path$file[$counter]";
$newlocation = "$newfoldernamewithpath\\$file[$counter]";
move($oldlocation, $newlocation);
## Give you something to read while waiting...
print "Processing Image $fileextwewant....\n";
## Call the JavaANPR application to process the image file and generate a report
system("\"C:\\PROGRA~1\\Java\\jre1.6.0_04\\bin\\ja va.exe -jar C:\\javaanpr\\dist\\javaanpr.jar -recognize -i $newlocation -o $newfoldernamewithpath\\\"");
## Call the GPS sub routine to get our current position
&get_gps_position;
## More stuff to read...
print "Processing Complete!\n";
}
$counter++;
}
## Close the folder we opened
closedir DIR;
print "Searching for $fileextwewant files...\n";
}
sub get_gps_position {
## Use the GPS module to get the current GPS position
($ns,$lat,$ew,$lon) = $gps->get_position;
## Get the current date and time
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isd st) = localtime();
$mday = $mday + 1;
$mon = $mon + 1;
$year = $year + 1900;
$gpstxtfilename = "GPSStamp.txt";
## Write the GPS position and date time stamp to a text file in the folder with the javaanpr report
open FILE, ">$newfoldernamewithpath\\$gpstxtfilename" or die $!;
print FILE "Time: $hour:$min.$sec Date: $mday-$mon-$year GPS: $ns $lat $ew $lon\n";
close FILE;
}
__________________
VIA Epia M10000 MB
512 DDR RAM
40G 2.5 HDD
M2-ATX
SP7 7" VGA TS dash
Lilliput 7" RCA rear
Holux GM-210 GPS
Linksys WUSB54G
Mini-Key USB KB
CarPCSub 0.71 Win32 + 0.71L Linux
GPS to Subtitles Recorder
http://carpcsub.sourceforge.net
|
|
|
10-16-2008, 10:59 PM
|
#7
|
|
licensed to kill
Join Date: Aug 2006
Location: Deep in the Rockies... coding in caves
Posts: 978
|
will this work in linux?
|
|
|
10-17-2008, 11:31 AM
|
#8
|
|
Newbie
Join Date: Apr 2006
Location: Greensboro, NC
Posts: 12
|
can this work on linux
Yes, this can work on a linux machine. If I am not mistaken most builds of linux come with Perl installed. You will need to install the GPS::NMEA module. You will need to change the path names so they are in the correct format for linux (e.g. / instead of \). The initial GPS::NEMA example I used was from a linux machine. The JavaANPR is a cross-platform application. You will need the Java runtime for linux installed to run the JavaANPR application. Since I am not using any perl modules that are Win32 specific you should be able to get this to work.
GG
__________________
VIA Epia M10000 MB
512 DDR RAM
40G 2.5 HDD
M2-ATX
SP7 7" VGA TS dash
Lilliput 7" RCA rear
Holux GM-210 GPS
Linksys WUSB54G
Mini-Key USB KB
CarPCSub 0.71 Win32 + 0.71L Linux
GPS to Subtitles Recorder
http://carpcsub.sourceforge.net
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
10-18-2008, 10:18 AM
|
#9
|
|
Low Bitrate
Join Date: Jan 2008
Posts: 65
|
i am intrested in the program above and creating a database for number plate's and i would also like some more infromation on your project and the software you have above
|
|
|
06-29-2009, 03:06 PM
|
#10
|
|
Newbie
Join Date: Apr 2009
Posts: 10
|
im working on this right now is this project dead or what?
|
|
|
06-29-2009, 08:18 PM
|
#11
|
|
Constant Bitrate
Join Date: Aug 2005
Location: MD
Posts: 167
|
I really hope not
|
|
|
06-30-2009, 10:52 AM
|
#12
|
|
Newbie
Join Date: Apr 2009
Posts: 10
|
anyone?
|
|
|
07-03-2009, 05:59 PM
|
#13
|
|
Low Bitrate
Join Date: Jun 2009
Posts: 107
|
I would like something like this to run in the background compiling a database with GPS details and timestamp - maybe even low res photos... I'm trying to devise a system that'll record real time footage front, rear, OS and NS of the car for insurance claims etc as well as something that'll record when the proximity sensor is triggered.
|
|
|
07-04-2009, 12:09 AM
|
#14
|
|
Newbie
Join Date: Apr 2009
Posts: 10
|
i have a few low quality logitec webcams. they could be used easily. you could use an ir array and mod the camera a little bit to mimic what anpr does. im no good with software but im pretty good with hardware.
|
|
|
08-04-2009, 03:33 PM
|
#15
|
|
Newbie
Join Date: Oct 2005
Posts: 1
|
JavaANPR
Hello Everyone,
I've been playing with JavaANPR a bit.. And it seems to work really well. Except not for U.S.A. License Plates
I've given it pretty crappy(tm) images of European license plates, and it returned a good response.. I have yet to get a single good response off of ANY image of a U.S. Plate.
I've tried fiddling with the config.xml file, but that is getting me no-where.
Does anyone have a proper config.xml file for detecting U.S. License Plates?
Thanks!
Ben
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:37 AM.
| |