Dedicated License Plate Cam project

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,421
Reaction score
3,655
when you will release the lpr software? I will donate money for your time.
The main ALPR software discussed in this thread is OpenALPR which is available for free.
 
Joined
Mar 14, 2017
Messages
26
Reaction score
4
@nayr Would you have time to write up a "how to" for ANLPR? I looked at your code up on get hub and I compared the conf files to the ANLPR I downloaded for my windows box but it's not syncing in how you have it running.
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,421
Reaction score
3,655

cam235

Pulling my weight
Joined
Oct 5, 2016
Messages
323
Reaction score
164
Reposted here my answer to a private message about my use of a long SLR lens, in case it is useful to others.

For extended range (plates at 200+ feet) I am using a fully manual old-style Nikon SLR lens, no auto iris, no auto-focus and that is what I recommend. Also needs F-mount to C-mount adaptor. For example NIKON NIKKOR-H 50MM F2.0 LENS (NON AI NIPPON KOGAKU) | eBay (although I'm using a 100mm lens) plus Camera Adapter For Nikon F Mount Lens To 16mm C Mount Film Movie Adapter | eBay

There is no way to activate a focus motor in a SLR lens without the SLR camera body, even if it was an autofocus model. Fortunately, you don't have to! That's the good news. The Dahua IPC-HF5421E camera I have has its own focusing motor that instead moves its image sensor back and forth by remote command (script), so you can remotely adjust focus on the camera even with a fixed manual lens that never moves. I've never tried to do this from Windows, I only use Linux for this stuff. I do not attempt autofocus, I just have my script switch at sunrise & sunset between two fixed settings found by trial & error (one for day, another for night with 850nm IR illuminator).

Yes, for less money you can get one of those 6-60 mm CS mount lenses. I did myself, and I also tried one of the few available 100mm CS lenses, before I ended up with an SLR lens. They do work but mine had glare / flare on bright spots, not really sharp/crisp. Maybe I'm a perfectionist but I was never happy with it. If you care about image quality the Nikon SLR lens is *much* better, although it is big and heavy and never designed to mount on an IP camera the way I did. I wonder a little about the mechanical stress on the lens mount, but my 100mm lens + long hood has been OK so far.
 
Last edited:
As an eBay Associate IPCamTalk earns from qualifying purchases.

hmjgriffon

Known around here
Joined
Mar 30, 2014
Messages
3,386
Reaction score
979
Location
North Florida
Reposted here my answer to a private message about my use of a long SLR lens, in case it is useful to others.

For extended range (plates at 200+ feet) I am using a fully manual old-style Nikon SLR lens, no auto iris, no auto-focus and that is what I recommend. Also needs F-mount to C-mount adaptor. For example NIKON NIKKOR-H 50MM F2.0 LENS (NON AI NIPPON KOGAKU) | eBay plus Camera Adapter For Nikon F Mount Lens To 16mm C Mount Film Movie Adapter | eBay

There is no way to activate a focus motor in a SLR lens without the SLR camera body, even if it was an autofocus model. Fortunately, you don't have to! That's the good news. The Dahua IPC-HF5421E camera I have has its own focusing motor that instead moves its image sensor back and forth by remote command (script), so you can remotely adjust focus the camera even with a fixed manual lens that never moves. I've never tried to do this from Windows, I only use Linux for this stuff. I do not attempt autofocus, I just have my script switch at sunrise & sunset between two fixed settings found by trial & error (one for day, another for night with 850nm IR illuminator).

Yes, for less money you can get one of those 6-60 mm CS mount lenses. I did myself, and I also tried one of the few available 100mm CS lenses, before I ended up with an SLR lens. They do work but mine had glare / flare on bright spots, not really sharp/crisp. Maybe I'm a perfectionist but I was never happy with it. If you care about image quality the Nikon SLR lens is *much* better, although it is big and heavy and never designed to mount on an IP camera the way I did. I wonder a little about the mechanical stress on the lens mount, but my 100mm lens + long hood has been OK so far.
pics?
 
As an eBay Associate IPCamTalk earns from qualifying purchases.

cam235

Pulling my weight
Joined
Oct 5, 2016
Messages
323
Reaction score
164
Here are some photos of my current setup, the Nikon SLR lens on the Dahua box cam using F-mount to C-mount adaptor. In background of one photo is a homebrew IR spotlight. After installing I put "black wrap" foil around the lens hood and camera body, to keep some dust off and make the white camera body stand out less.

NikonFront.JPG
NikonSide.JPG
Wrapped.JPG
 

hmjgriffon

Known around here
Joined
Mar 30, 2014
Messages
3,386
Reaction score
979
Location
North Florida

Kawboy12R

Known around here
Joined
Nov 18, 2014
Messages
1,771
Reaction score
609
@cam235 I assume it just lives under a tool/lawnmower lean-to outside and shoots through the open side? Probably wouldn't have to be too weatherproof like that. Nobody would guess from the road what it was. Looks more like a potato cannon than a camera TBH.
 

cam235

Pulling my weight
Joined
Oct 5, 2016
Messages
323
Reaction score
164
It's near the roofline, just under the eaves. If you're walking by on the sidewalk or even up the driveway, I don't think it really jumps out at you. I had to increase the camera exposure to make it visible with the black wrap on; from any distance mostly it just looks like a dark blob.

Dahua-sidewalk.JPG Dahua-close.JPG
 
Last edited:

SyconsciousAu

Getting comfortable
Joined
Sep 13, 2015
Messages
872
Reaction score
825
Spent my Sunday setting up my 2x IPC-HFW5431E-Z5 as dedicated LPR cams.
I've been doing the same. Still working on the settings. This was taken in Shutter priority with a custom range of no slower than 1/2000. The camera obviously cranked up the iso hence all the grain. I've turned the gain down to 25 and pulled the shutter back to 1/1000. Now all I need is a car to drive past.

NPR test.jpg
 

TheSuperServer

Getting the hang of it
Joined
Jan 26, 2017
Messages
143
Reaction score
64
That's what my settings are 1/1000 I didn't mess with the gain just changed the shutter. Results day and night seem to be good but still testing.
 

SyconsciousAu

Getting comfortable
Joined
Sep 13, 2015
Messages
872
Reaction score
825
All of us will run into the issue of non reflective number plates at night from time to time, which looks something like this.
NPR - Non Reflective.jpg

When I built my new number plate recognition setup I wanted to eliminate the unreadable plate so I put a starlight on the job running 1/250s shutter at night. The result is this

NPR - Non Reflective - Starlight.jpg

Combining the IPC-HFW5431E-Z5 with the IPC-HFW5231E-Z5 has worked very well for me.
 

cb8

Getting comfortable
Joined
Jan 16, 2017
Messages
111
Reaction score
64
@SyconsciousAu, that's really nice!

I saw a a few cars like that, i.e. non-reflective license plate when I tested my IPC-HFW5231E-Z5. Currently waiting for my Z12 hoping to get a better angle.

Is that only using the inbuilt IR from your two cameras, or do you have additional IR?
 

SyconsciousAu

Getting comfortable
Joined
Sep 13, 2015
Messages
872
Reaction score
825
Is that only using the inbuilt IR from your two cameras, or do you have additional IR?
Running a cheap 15 degree 6 x 1W IR LED additional illuminator at the moment which cost me AUD$22 delivered from Aliexpress. I'm tempted to spend some more dollars and get one of the Scene 12 x 2W illuminators. They are about AUD$180 delivered but I suspect I could run the starlight at 1/500 and get really clear images of vehicles and non reflective plates.
 
Top