Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 09-01-2008, 04:09 PM   #1
Newbie
 
Join Date: Feb 2007
Posts: 2
chris666uk1 is an unknown quantity at this point
Thumbs up 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..
chris666uk1 is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 09-01-2008, 05:58 PM   #2
Newbie
 
Join Date: May 2008
Posts: 30
Greeno2k8 is an unknown quantity at this point
Why would you want to know the reg's of all the undercover police cars?

j
Greeno2k8 is offline   Reply With Quote
Old 09-01-2008, 07:59 PM   #3
Variable Bitrate
 
AlienEclipse's Avatar
 
Join Date: Jul 2003
Location: Dunedin - New Zealand
Posts: 427
AlienEclipse
Quote: Originally Posted by Greeno2k8 View Post
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!
AlienEclipse is offline   Reply With Quote
Old 09-01-2008, 09:30 PM   #4
Variable Bitrate
 
NeonDev's Avatar
 
Join Date: Feb 2008
Posts: 431
NeonDev is an unknown quantity at this point
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?
__________________
check us out at: www.neonboombox.com
NeonDev is offline   Reply With Quote
Old 09-02-2008, 07:19 AM   #5
Neither darque nor pervert
 
DarquePervert's Avatar
 
Join Date: Apr 2004
Location: Elsewhere
Posts: 12,884
DarquePervert is a glorious beacon of lightDarquePervert is a glorious beacon of lightDarquePervert is a glorious beacon of lightDarquePervert is a glorious beacon of lightDarquePervert is a glorious beacon of light
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.
DarquePervert is offline   Reply With Quote
Old 10-16-2008, 10:30 PM   #6
Newbie
 
Join Date: Apr 2006
Location: Greensboro, NC
Posts: 12
GarGoil is on a distinguished road
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
GarGoil is offline   Reply With Quote
Old 10-16-2008, 10:59 PM   #7
licensed to kill
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Deep in the Rockies... coding in caves
Posts: 978
kev000 will become famous soon enough
will this work in linux?
__________________
LinuxICE2 beta2 is released!!! get it now!
OpenICE - The Free infotainment platform.
Follow OpenICE development
kev000 is offline   Reply With Quote
Old 10-17-2008, 11:31 AM   #8
Newbie
 
Join Date: Apr 2006
Location: Greensboro, NC
Posts: 12
GarGoil is on a distinguished road
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
GarGoil is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 10-18-2008, 10:18 AM   #9
Low Bitrate
 
Join Date: Jan 2008
Posts: 65
coreyspeed is on a distinguished road
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
coreyspeed is offline   Reply With Quote
Old 06-29-2009, 03:06 PM   #10
Newbie
 
Join Date: Apr 2009
Posts: 10
bowser22 is an unknown quantity at this point
im working on this right now is this project dead or what?
bowser22 is offline   Reply With Quote
Old 06-29-2009, 08:18 PM   #11
Constant Bitrate
 
Join Date: Aug 2005
Location: MD
Posts: 167
matt11601 is on a distinguished road
I really hope not
matt11601 is offline   Reply With Quote
Old 06-30-2009, 10:52 AM   #12
Newbie
 
Join Date: Apr 2009
Posts: 10
bowser22 is an unknown quantity at this point
anyone?
bowser22 is offline   Reply With Quote
Old 07-03-2009, 05:59 PM   #13
Low Bitrate
 
Join Date: Jun 2009
Posts: 107
TheGuv is an unknown quantity at this point
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.
TheGuv is offline   Reply With Quote
Old 07-04-2009, 12:09 AM   #14
Newbie
 
Join Date: Apr 2009
Posts: 10
bowser22 is an unknown quantity at this point
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.
bowser22 is offline   Reply With Quote
Old 08-04-2009, 03:33 PM   #15
Newbie
 
Join Date: Oct 2005
Posts: 1
PilotPTk is on a distinguished road
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
PilotPTk is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Release new phoco integration preview Robby BMW Road Runner 544 09-12-2009 06:29 AM
ALPR - Automatic License Plate Recognition chuckster General MP3Car Discussion 3 01-12-2007 01:31 PM
ME 2.0 Official Bug Reports phat_bastard ME Archive 67 01-31-2004 07:27 PM
Error #91 SiGmA_X ME Archive 18 01-08-2004 10:40 PM



All times are GMT -5. The time now is 01:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics