CodeProject.ai with License Plate Reader module - HowTo?

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
Interesting, what's odd is lpr was working as well. Just not as reliable.

View attachment 170804
I just try the below and it works also. I just realized that it does not matter what you have as long as you have ALPR enabled in the main AI setting it will work. This is because when you have ALPR enable in the main AI settings it enables it for all cameras unless if you add alpr:0 to Custom models.

1693025480074.png
 

Nunofya

Getting comfortable
Joined
Nov 8, 2021
Messages
356
Reaction score
274
Location
USA
Any replies to if "cuda = true" should be green. I don't have a dedicated gpu.

Screenshot 2023-08-25 2.png
 

Nunofya

Getting comfortable
Joined
Nov 8, 2021
Messages
356
Reaction score
274
Location
USA
Not in clips as a capture. Went back to look at the cancellation and found that it spotted a plate. Any advice?

Screenshot 2023-08-26 124151.png
 

Nunofya

Getting comfortable
Joined
Nov 8, 2021
Messages
356
Reaction score
274
Location
USA
Does anyone know what is going wrong here? I see plate captures when I review my cancelations, but not posting to clips, flagged alerts.

Screenshot 2023-08-26 154139.png
 

olympia

n3wb
Joined
Aug 8, 2021
Messages
1
Reaction score
0
Location
Hungary
License plates in Europe include either the EU flag or the country flag (for older plates), along with the country code represented by a small letter positioned under the flag on the left side of the plates. Adjacent to this, a pipe character ("|") serves as a separator between the flag/country code and the plate number itself.
The license plate reader module often misinterprets and appends the country code to the plate number, while recognizing the pipe character as an "I" letter within the plate. Please refer to the screenshot below, where the plate number appears as "HIJCN 870" instead of "JCN 870". Is there any method to improve?

1706867677025.png
 

Arjun

Known around here
Joined
Feb 26, 2017
Messages
9,122
Reaction score
11,173
Location
USA
Is a NVIDIA GPU required to get the LPR function working or would Object Detection (YOLOv5 .NET) suffice?
 

Robert G.

Getting comfortable
Joined
Oct 6, 2018
Messages
297
Reaction score
569
Location
North America
This codeproject.ai for license plates is cool, I've been away for a while from this forum and did not know of this development.

In addition to capturing plates, I like to identify the make/model of vehicles. Is there any module in codeproject.ai for that yet?
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
I like to identify the make/model of vehicles
I am training a model right now that will identify the make/model of vehicles. I am not sure how good it will be most of the model years are about 10+ years old.

Link to Dataset I am using capstone-g7-car-detection Object Detection Dataset by Sudharsan Rengarajan

CLASSES
AM General Hummer SUV 2000 Acura Integra Type R 2001 Acura RL Sedan 2012 Acura TL Sedan 2012 Acura TL Type-S 2008 Acura TSX Sedan 2012 Acura ZDX Hatchback 2012 Aston Martin V8 Vantage Convertible 2012 Aston Martin V8 Vantage Coupe 2012 Aston Martin Virage Convertible 2012 Aston Martin Virage Coupe 2012 Audi 100 Sedan 1994 Audi 100 Wagon 1994 Audi A5 Coupe 2012 Audi R8 Coupe 2012 Audi RS 4 Convertible 2008 Audi S4 Sedan 2007 Audi S4 Sedan 2012 Audi S5 Convertible 2012 Audi S5 Coupe 2012 Audi S6 Sedan 2011 Audi TT Hatchback 2011 Audi TT RS Coupe 2012 Audi TTS Coupe 2012 Audi V8 Sedan 1994 BMW 1 Series Convertible 2012 BMW 1 Series Coupe 2012 BMW 3 Series Sedan 2012 BMW 3 Series Wagon 2012 BMW 6 Series Convertible 2007 BMW ActiveHybrid 5 Sedan 2012 BMW M3 Coupe 2012 BMW M5 Sedan 2010 BMW M6 Convertible 2010 BMW X3 SUV 2012 BMW X5 SUV 2007 BMW X6 SUV 2012 BMW Z4 Convertible 2012 Bentley Arnage Sedan 2009 Bentley Continental Flying Spur Sedan 2007 Bentley Continental GT Coupe 2007 Bentley Continental GT Coupe 2012 Bentley Continental Supersports Conv- Convertible 2012 Bentley Mulsanne Sedan 2011 Bugatti Veyron 16-4 Convertible 2009 Bugatti Veyron 16-4 Coupe 2009 Buick Enclave SUV 2012 Buick Rainier SUV 2007 Buick Regal GS 2012 Buick Verano Sedan 2012 Cadillac CTS-V Sedan 2012 Cadillac Escalade EXT Crew Cab 2007 Cadillac SRX SUV 2012 Chevrolet Avalanche Crew Cab 2012 Chevrolet Camaro Convertible 2012 Chevrolet Cobalt SS 2010 Chevrolet Corvette Convertible 2012 Chevrolet Corvette Ron Fellows Edition Z06 2007 Chevrolet Corvette ZR1 2012 Chevrolet Express Cargo Van 2007 Chevrolet Express Van 2007 Chevrolet HHR SS 2010 Chevrolet Impala Sedan 2007 Chevrolet Malibu Hybrid Sedan 2010 Chevrolet Malibu Sedan 2007 Chevrolet Monte Carlo Coupe 2007 Chevrolet Silverado 1500 Classic Extended Cab 2007 Chevrolet Silverado 1500 Extended Cab 2012 Chevrolet Silverado 1500 Hybrid Crew Cab 2012 Chevrolet Silverado 1500 Regular Cab 2012 Chevrolet Silverado 2500HD Regular Cab 2012 Chevrolet Sonic Sedan 2012 Chevrolet Tahoe Hybrid SUV 2012 Chevrolet TrailBlazer SS 2009 Chevrolet Traverse SUV 2012 Chrysler 300 SRT-8 2010 Chrysler Aspen SUV 2009 Chrysler Crossfire Convertible 2008 Chrysler PT Cruiser Convertible 2008 Chrysler Sebring Convertible 2010 Chrysler Town and Country Minivan 2012 Daewoo Nubira Wagon 2002 Dodge Caliber Wagon 2007 Dodge Caliber Wagon 2012 Dodge Caravan Minivan 1997 Dodge Challenger SRT8 2011 Dodge Charger SRT-8 2009 Dodge Charger Sedan 2012 Dodge Dakota Club Cab 2007 Dodge Dakota Crew Cab 2010 Dodge Durango SUV 2007 Dodge Durango SUV 2012 Dodge Journey SUV 2012 Dodge Magnum Wagon 2008 Dodge Ram Pickup 3500 Crew Cab 2010 Dodge Ram Pickup 3500 Quad Cab 2009 Dodge Sprinter Cargo Van 2009 Eagle Talon Hatchback 1998 FIAT 500 Abarth 2012 FIAT 500 Convertible 2012 Ferrari 458 Italia Convertible 2012 Ferrari 458 Italia Coupe 2012 Ferrari California Convertible 2012 Ferrari FF Coupe 2012 Fisker Karma Sedan 2012 Ford E-Series Wagon Van 2012 Ford Edge SUV 2012 Ford Expedition EL SUV 2009 Ford F-150 Regular Cab 2007 Ford F-150 Regular Cab 2012 Ford F-450 Super Duty Crew Cab 2012 Ford Fiesta Sedan 2012 Ford Focus Sedan 2007 Ford Freestar Minivan 2007 Ford GT Coupe 2006 Ford Mustang Convertible 2007 Ford Ranger SuperCab 2011 GMC Acadia SUV 2012 GMC Canyon Extended Cab 2012 GMC Savana Van 2012 GMC Terrain SUV 2012 GMC Yukon Hybrid SUV 2012 Geo Metro Convertible 1993 HUMMER H2 SUT Crew Cab 2009 HUMMER H3T Crew Cab 2010 Honda Accord Coupe 2012 Honda Accord Sedan 2012 Honda Odyssey Minivan 2007 Honda Odyssey Minivan 2012 Hyundai Accent Sedan 2012 Hyundai Azera Sedan 2012 Hyundai Elantra Sedan 2007 Hyundai Elantra Touring Hatchback 2012 Hyundai Genesis Sedan 2012 Hyundai Santa Fe SUV 2012 Hyundai Sonata Hybrid Sedan 2012 Hyundai Sonata Sedan 2012 Hyundai Tucson SUV 2012 Hyundai Veloster Hatchback 2012 Hyundai Veracruz SUV 2012 Infiniti G Coupe IPL 2012 Infiniti QX56 SUV 2011 Isuzu Ascender SUV 2008 Jaguar XK XKR 2012 Jeep Compass SUV 2012 Jeep Grand Cherokee SUV 2012 Jeep Liberty SUV 2012 Jeep Patriot SUV 2012 Jeep Wrangler SUV 2012 Lamborghini Aventador Coupe 2012 Lamborghini Diablo Coupe 2001 Lamborghini Gallardo LP 570-4 Superleggera 2012 Lamborghini Reventon Coupe 2008 Land Rover LR2 SUV 2012 Land Rover Range Rover SUV 2012 Lincoln Town Car Sedan 2011 MINI Cooper Roadster Convertible 2012 Maybach Landaulet Convertible 2012 Mazda Tribute SUV 2011 McLaren MP4-12C Coupe 2012 Mercedes-Benz 300-Class Convertible 1993 Mercedes-Benz C-Class Sedan 2012 Mercedes-Benz E-Class Sedan 2012 Mercedes-Benz S-Class Sedan 2012 Mercedes-Benz SL-Class Coupe 2009 Mercedes-Benz Sprinter Van 2012 Mitsubishi Lancer Sedan 2012 Nissan 240SX Coupe 1998 Nissan Juke Hatchback 2012 Nissan Leaf Hatchback 2012 Nissan NV Passenger Van 2012 Plymouth Neon Coupe 1999 Porsche Panamera Sedan 2012 Ram C-V Cargo Van Minivan 2012 Rolls-Royce Ghost Sedan 2012 Rolls-Royce Phantom Drophead Coupe Convertible 2012 Rolls-Royce Phantom Sedan 2012 Scion xD Hatchback 2012 Spyker C8 Convertible 2009 Spyker C8 Coupe 2009 Suzuki Aerio Sedan 2007 Suzuki Kizashi Sedan 2012 Suzuki SX4 Hatchback 2012 Suzuki SX4 Sedan 2012 Tesla Model S Sedan 2012 Toyota 4Runner SUV 2012 Toyota Camry Sedan 2012 Toyota Corolla Sedan 2012 Toyota Sequoia SUV 2012 Volkswagen Beetle Hatchback 2012 Volkswagen Golf Hatchback 1991 Volkswagen Golf Hatchback 2012 Volvo 240 Sedan 1993 Volvo C30 Hatchback 2012 Volvo XC90 SUV 2007 smart fortwo Convertible 2012

1714268334761.png
 

mailseth

Getting the hang of it
Joined
Dec 22, 2023
Messages
126
Reaction score
87
Location
California
I wonder how large of a photo/label pairing dataset you could scrape off of Craigslist or Edmunds? Would probably be more complete in the past ten years.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
I wonder how large of a photo/label pairing dataset you could scrape off of Craigslist or Edmunds? Would probably be more complete in the past ten years.
So far the model is training well, I am using yolov5l. I am already thinking of scraping newer make and models.

1714272707197.png
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
Not YOLOv8? I trust your opinion, but am curious why?
If the model work well I will train a YOLOv8 version. We currently do not have a YOLOv8 .NET module, I am using the YOLOv5 .NET module and are getting better performance then the YOLOv8 module.
 
Last edited:
Top