How I failed to replicate an $86M project in 1 line of code
medium.com
medium.com
"[a medium post has been] doing the rounds the last few days, describing how an automated license plate recognition (ALPR) system being developed for the Australian Victoria Police could just use the open-source ALPR system OpenALPR instead"
The original post was pretty much a tech demo, and noted a bunch of issues. I think the point was that an ALPR project shouldn't really cost $86M.
ALPR is a well studied problem, there are a number of commercial solutions. I've no doubt there are even a number of solutions already deployed in Australia. Such systems are routinely used, for example, to monitor the speed of traffic (see Traffic master).
And as the original post showed, there are even open source solutions to the problem that work pretty well.
So yea... $86M seems like a lot when there are probably off the shelf systems you can buy at a much lower cost...
Fixed camera systems were rolled out in Australia in 2005...
So.. ALPR is not new. In 2012 there were multiple systems available. 86MUSD seems like a lot to adapt existing research or existing systems. Even if that includes acquiring/maintaining several vehicles.
Maybe the whole project is being mischaracterized. Perhaps it included requirements completely unrelated the ALPR (face recognition, driver identification? don't know...).
But with the information available, 86MUSD seems like a lot.
Right... "connecting to a bunch of existing databases". Does not sound like it's worth 86MUSD to me. But there we go, I guess we just disagree on this point.
How I replicated an $86 million project in 57 lines of code
The thesis is that the author created the equivalent of the multi-million dollar project.
"Replicated", not "imitated", "prototyped", "created a POC", etc.
Titles bring clicks; titles bring scrutiny. Live by the sword, and die by the sword.
IMO, this one is saying "I'm gonna push the starting point even further back and complain about someone making a suggestion about inefficiencies."
But that's the internet I guess.
1. You've shown the success of OpenALPR isn't perfect, but I'm sure the closed source alternative isn't perfect either. It might be better, but is it $86 million better?
2. If we spent $86 million on developing OpenALPR, it would be an incredible product that everyone could use, without paying so much to the overhead of an executive structure.
Good cameras, lenses, and camera placement will make or break a project like this.
Scan a thinner section of the video because the sky/ground is useless, and process every 10th frame.
Source: I've worked with ALPR for 7 years.
It's currently Father's Day here in Australia so I don't have a chance to respond right now. On the road all day.
I'll have to do a follow up next weekend, I'm absolutely flat chat both in and out of work at the moment.
The real substance -- and the first posts hints at it -- is that government (and private sector) projects are more often than not many times more expensive than they should be.
Sometimes because they are overengineered (in 2005 it would be 200 Java programmers building a EJB/SOAP/XML monster that requires 10 workstations to run), other times just because they can (charge more). The same way health related projects and vendors can charge a ton for trivial stuff (even plain plastic syringes).
In many countries, it's also because the bigger the project, the more greedy intermediaries can get a bite.
It is not.
The camera is also not calibrated. Text recognition does not work well on video whose distortion characteristics are not known.
I am not at all surprised that this is his result.
This morning I calibrated my dashcam and used OpenALPR to replicate this, and I got FAR better results than this blogger.
At the end of a 30-minute section of heavy traffic, I had many hundreds of license plates with 95% confidence or better. I do not have a way to verify the plates automatically, so I don't know how many of those are actually correct.
I filmed at 2560x1440 at 30fps.
everyone knows dashcam, even on 1080p, simple can't be used fir license plates! humans can't read most of them. specially after youtube compression! this is such a known fact that the more serious youtube reviews show a warning about all that before dashcam reviews.
How many police departments around the world are spending absurd amounts of money for this technology? It would make much more sense both cost and productivity wise to have one big project that anyone can improve on instead of multiple inferior projects.
Not to mention that all of this is paid for with taxpayer money, so it is reasonable for those same taxpayers to have access to the code.
(Shameless plug)
I personally don't have a problem with open source software and use it extensively outside of work. However, the big problem with it is technical support. If you are a government organization and the OSS you are using has a bug, who do you contact to get it hotfixed ASAP or find you workarounds?
That's one of the biggest advantages of commercial software: it is often sold with support contracts that entitle customers to certain levels of support, which can be critical to get things fixed and minimize downtime.
I know there are companies that focus on supporting OSS deployments, but from what I have seen in my own niche, they charge a ton of money that often surpasses what the equivalent commercial package would cost.
Both are worthwhile goals.
...
>If you are a government organization and the OSS you are using has a bug, who do you contact to get it hotfixed ASAP or find you workarounds?
You, or someone like you, presumably?
If others step in to offer support contracts as well, great! Competitive environments for that would probably be good.
As for speed, there appears to be an OpenCL option that should be investigated.