PDA

View Full Version : How To Beat R'flex Photo Radar? Maybe.



x_logo
12-18-2008, 11:12 PM
I am new to the forum. You guessed it, my wife got a phto radar ticket here in Arizona, on Interstate 10 between Phoenix and Tucson, near Eloy. It was a classic speed trap where the posted 70 MPH speed is reduced to 55 MPH at a more or less permanent consctruction zone. Se was clocked at 68 as she was coasting to 55.

I am the curious sort so decided to look into the van mounted systems by R'flex.

Luckily the plate photo is online for download from DPS and it reveals some interesting clues about some potential countermeasures. The back of the car was in shade so the flash was the dominant lighting.

The plate image is very low resolution -- only about 88 pixels wide by 35 tall. Reproduced plate characters are only 2 to 3 pixels wide, proably about 3,000 pixels total. So much for megapixel performance. I figure when the photo was snapped the car was about 150-200 ft from the camera lens, off axis by 20 to 30 degrees while going 68 MPH. This is a **very ** good system -- amazing they can do that and get such a clear image. Note that the plate frame, as well as the car is white, but actually appears dark on the image despite the full blast strobe flash. Major signal processing dinking with contrast is being done here.

The whole photo is digitally compressed with only about 7 levels from full white to full black with the range of noise of about three levels. This leaves little more than 4 intensity levels of actual data so, on the surface, it should not be too hard to fool the contrast computation. Luckily R'flex has filed patents that explain a little of the technology. The trick is that the background of the plate is highly retro-reflective so when the flash hits, the foreground numbers are backlit in high relief. After the image(s) are acquired the software scans the whole rear end image for the shape of the plate based on the rectangular edges marked by the reflective background. When the plate area is "found," the software then scales the intensities found in plate area to 4 bits - to 15 levels from full white to full black (or so claimed in the patent - I can only detect 7) then the same scaling is applied to the balance of the photo -- this is why the main photo is so overexposed in some areas and underexposed in others. The patent is not too specific on the scaling algorithm but might be something as simple as the average pixel level across the plate image or detecting weighted maximum/minimum values and assigns values in between. Also, according to the patent, they may actually do two complete simultaneous images at different exposures and then fill in one from the other to get the best contrast. Looking at the photo, the plate background is so bright the software obviously spends most of its effort in attenuating the intensity to bring out the dark plate characters -- resulting in the rest of the white car, in direct view of the flash, going dark. In short, the software's job is to dig the blacks out of the very bright background and "don't care" too much about other gradations.

What is interesting is the plate printing with the words "ARIZONA" and "THE GRAND CANYON STATE" and the left side Saguaro image, even though about the same color and darkness, have almost completely dropped into the noise. These characters are not that much smaller in area but they have the retro-reflector material on top of the printing so, despite being a dark color, to the camera they look much the same as the rest of the background: VERY interesting -- the system has the highest contrast with the retro-reflective coating on the plate "backllighting" the plate characters when the flash fires. It is the ABSENCE of the retro reflective coating on the plate characters that makes the plate characters black and highly visible, not the darkness or color of the characters themselves.

However, the mountain profile printed on the lower left of the plate is still visible at reduced intensity probably because the area is much greater in size. So clearly size and darkness underneath the retro coating also play a role, although it might have a less effect in setting the contrast.

Apparently the after market retro reflective spray-on material both diffuses the retro-reflection across the plate and adds reflective properties to the otherwise non-reflective plate characters. When the pixels are all rescaled to "normal" levels, the plate numbers are **supposed* to fall into the three levels of noise as overexposed. According to some "independent tests," it works with some cameras but not others.

But after looking at the plate photo full sized, I'm a bit skeptical that it works with R'flex. From what I have seen in photos the spray-on stuff still creates an enormous reflection when hit by the flash. Since the plate characters are non reflective behind the coating, a background pattern based on darkness alone is likely still detectable. The software will likely find the darkest gray and try to force it to black, pulling in more shades of gray. There is a real human looking at the noise distribution and my guess from looking at the photo the noise will not be randomly distributed: -- there will likely be contiguous darker pixels which follow the characters making them detectable. Still, it might be hard to distinguish between some numbers and characters which will require the operator to "guess" -- is it a 5 or a 6? Might work some of the time.

But there are clues as to how the spray system might be improved with a little more work. I plan on doing some tests::

1) Apply a thin coat of clear reflective paint with known properties such as Krylon REFLECT-A-LITE with a brush over the individual plate characters so, with a little trial and error, their reflective properties will appear as reflective as the rest of the plate background. This essentially "hides" the plate characters by making them equally reflective compared to the rest of the plate.

2) Then use a thin coat of clear diffuse paint such as Krylon Crystal Cclear over the entire plate -- it should go on a little milky, but not noticable to the eye, I think. This should cause the background to become diffuse, reducing the reflective contrast making the reflective intensity more constant across the surface.

3) Then use 3/16 inch masking tape and tape grid pattern over the plate. Then spray a final light coat of REFLECT-A-LITE over the grid to create a reflective "noise" pattern, about the size of each pixel. This hopefully breaks up any remaining reflective patterns.

4) Then construct a custom made, big-wide, flat black license plate frame/holder.

5) Then, around the plate frame/holder outside edge apply thin strips (about the width of the typical pixel: 3/16") of white, highly reflective automotive safety tape, keeping the overall size in approximately proportion to the plate itself.

So with this configuration: the detected image data will appear at the edge of the applied reflective tape instead of the edge of the plate itself: the tape is small enough in area not to affect the overall reflective intensity much, but a pixel wide enough to trick the software into taking data. The overall plate dimensions will therefore appear bigger so the real plate image will get proportionally smaller -- less data for each pixel. Then, once the software "finds" the plate defined by the edge of the tape, the software will be forced to include part of the the black plate frame/holder area as data, the equivalent of plate characters for the purpose of computing the correct contrast.

So in the end the software with its top priority to render black black, will be forced to scale the black border area to its normalized level even at the expense of overexposure and burning elsewhere. The hope is that system will intentionally scale the residual plate characters into the noise level, rendering them unreadable.

Sounds like fun.

Lucky225
12-18-2008, 11:17 PM
sorry to not read the extradorinarly long post but there's a short and simple answer, if it was mailed to you throw it away, you haven't been properly served by a process server.

Jag42
12-18-2008, 11:18 PM
Good Luck ! Even radar detector manufactures are scratching there heads trying to figure this out. The range is very poor even on the best detectors like the V1 and other brands. :eek:

Lucky225
12-18-2008, 11:23 PM
After reading the post however, that sounds like an interesting theory I'd like to try out if I was in AZ :D

TSi+WRX
12-19-2008, 09:21 AM
Very interesting, x logo.

Let us know how that plays out - that's definitely some detailed analysis and planning. :)

Also, at the same time, if at all possible, would you be able to hook-up with RacerX or other area enthusiasts who might have access to police LIDAR devices?

I wonder how much of what you propose may affect LIDAR reflectivity/profile, for the rear of your vehicle, too.

x_logo
12-19-2008, 11:06 AM
Here is the photo. I've deleted part of the plate for privacy but you can still copy it off to a photo editing program and zoom it up to inspect.

http://img261.imageshack.us/img261/5613/rearwa4.th.jpg (http://img261.imageshack.us/my.php?image=rearwa4.jpg)

x_logo
12-19-2008, 01:44 PM
A close examination of the plate's reflective surface is interesting.

It appears that the background surface (not the plate characters) is covered with micro spheres -- tiny clear balls. When light enters the spheres it reflects back out at an angle close to that in which it entered. The spheres appear to be embedded in the paint, not applied on top. The surface is somewhat rough with the speres distrbuted evenly in little peaks and valleys in the paint.

The photo radar camera counts on this effect to backlight the plate characters which are not reflective. To help in "hideing" the plate characters it would be useful to redice the reflective protperites of the background surface so it appears "darker" to the camera. Then, when the camera's software sets up the contrast, it will make the bright areas brighter. -- maybe bright enough to overexpose the plate character area making them unreadable.

While in my original post I figured that the reflective properties could be reduced by adding a layer of diffusing paint, after more thought I worry that the paint might peel off over time or might otherwise be detectable. It might be more reliable and easier to simply rough up the micro spheres surface so they no longer reflect.

Just for fun I took some TurtleWax rubbing compound (the red stuff) and a little elbow greass to the dark area in the lower left of the plate. After a little rubbing the surface got a little dull but still held the correct color. Under a powerful lens it appears that the rubbing compound "flattens" and dulls up the surface spheres causing them to blend into the bacground and loose their reflecvie properties. Using the lens it is possible to check to see when the spheres are no longer visible on the surface to avoid goting too deep with the rubbing compound.

A quick guess is that this reduces the reflective properties quite a bit - not quite as flat as the non-reflective paint but pretty cl;ose. The surface appears dull when held in the light at a refflecvie angle but is otherwise undetectable at normal viewing angles when installed on the car..

My new strategy therefore is to dull out the areas of the plate except within about 1/2 inch of the plate characters. (Note if you want to try this: the paint on top of the plate characters is quite soft and is easily rubbed off. Keep 1/2 inch away or use masking tape.)

I'll eventually post photos.

Suf Daddy
12-19-2008, 04:44 PM
Although the posts are long.

Great to have a new member going to these lengths to spread some info about these things.

Welcome to the forum and we look forward to your findings!

-Suf

TSi+WRX
12-19-2008, 04:45 PM
Although the posts are long.

Great to have a new member going to these lengths to spread some info about these things.

Welcome to the forum and we look forward to your findings!

-Suf

+1

I love seeing new members come aboard, with such enthusiasm and such depth-of-thought! :)

Lucky225
12-19-2008, 05:42 PM
+1

I love seeing new members come aboard, with such enthusiasm and such depth-of-thought! :)

X2!

jgunn
12-19-2008, 06:24 PM
Thanks! Great information!

x_logo
12-19-2008, 07:11 PM
Using rubbing compound to reduce the reflective properties of the plate was taking way too long. Tried 600 grit wet-dry sandpapter, then 400, which worked best. Using it wet produces a very smooth non-reflective surface. I taped off the plate characters into two left-right groups of three, with the masking tape square at the very edge of the characters to avoid removing the paint in the raised chararacters.

While sanding I checked with the magnifier. I now seem to think the reflective micro spheres are mostly embedded in the surface of the underlying paint, maybe while wet. As the sanding progress there seem to be fewer spheres on the surface. I might be simply cutting through the layer to the base paint. The paint is quite thick and I have not yet to go through to the base metal.

In any case the sanded areas have no retro-reflective properties at all -- GONE.

More coming up.

Lucky225
12-19-2008, 08:06 PM
Using rubbing compound to reduce the reflective properties of the plate was taking way too long. Tried 600 grit wet-dry sandpapter, then 400, which worked best. Using it wet produces a very smooth non-reflective surface. I taped off the plate characters into two left-right groups of three, with the masking tape square at the very edge of the characters to avoid removing the paint in the raised chararacters.

While sanding I checked with the magnifier. I now seem to think the reflective micro spheres are mostly embedded in the surface of the underlying paint, maybe while wet. As the sanding progress there seem to be fewer spheres on the surface. I might be simply cutting through the layer to the base paint. The paint is quite thick and I have not yet to go through to the base metal.

In any case the sanded areas have no retro-reflective properties at all -- GONE.

More coming up.


PICS!!!!!!!!!

x_logo
12-20-2008, 06:10 PM
I finished sanding out the retro-reflective coating on the plate with good results.

For comparision I found another plate, put them side by side and took a pic, deleting all the characters except for the first for privacy.

Big difference. Next up: dink with the character area to make it completely wash out.

Staty tuned.

http://img229.imageshack.us/img229/3729/comparecd0.th.jpg (http://img229.imageshack.us/my.php?image=comparecd0.jpg)

TSi+WRX
12-21-2008, 01:27 PM
Most cool!!! :cool::eek::)

x_logo
12-21-2008, 07:48 PM
A little break in the action.

Getting the plate characters to the same reflective intensity as the background is going to be a bit tricky.

I got a better magnifier and did some more research. The plate material is a 3M product (4770e/t) with what appears to be embedded "reflector lens" technology. This is not simple surface glass beads but something a lot more high tech. The surface does not have the usual glass beads found in such things as reflective tape and street signs. Instead there are embedded "holes" where, apparently, the light enters and is reflected back out This causes a very narrow beam width and, my guess, the backside of the holes has some sort of mirror coating for less light loss. They are about 20 or so microns in diameter and quite dense.

No reflective spray is going to get the denisty or intenisty of these reflective elements so I'm not going to even try. Forget about Photoblocker and the like. Won't be even close.

The plan now is to find and order glass beads in the 20-50 micron diameter, apply the beads to the surface of the plate characters, then attenuate the plate background to match by hand painting some Krylon Matte Crystal Clear which is a little milky -- should "fill" those reflective lens holes. My guess is a little polish on top of the beaded characters will also bring up the intensity a bit.

If this doesn't work the next plan is to remove the plate character paint entirely and replace it with translucent paint of the same color.

Will take a week or so to get the 20-50 micron beads on order and delivered so check back later.

One final note: one plate I obrsered had the latest 3M material with "security features" one of which looks like a watermark. These are visible to the cops to identify bogus plates. Will have to see these affect things.

Carrots
12-21-2008, 08:36 PM
Interesting thread x logo,

Do you have any ideas on how effective this may be with the infrared flash cameras?

Keep us posted. :)

x_logo
12-22-2008, 10:45 AM
Many thanks for the knd conmments on this post.

Have run into a major setback. I began setting up the test procedures to make sure the plate mods work and found a fatal flaw. The tests would include conditions where the car is in the fast lane and slow lane (different distances), in full sun and in shade (background light levels) and, as an afterthought, night time.

Here is the problem. To force the plate characters into the background under flash conditions will also affect the plates visibility under bright light conditions at night. So I set up a little test at night and here is what I found.

The modifications to the plate are not too noticable if the license plate lilght is bright. As a (cop) car approaches from behind, things look just about normal up to about 4-5 car lengths. When the (cops) headlights get closer than 4-5 car lengths the headlights overcome the plate light in intensity and the plate begins to reflect noticably. -- the modifications start to become obvious. If the (cop) car hits the high beam, then the jig is up.

Any cop with a brain would notice the weird look of the plate and hit the siren and lights. Game over. This is just inviting trouble.

So the new task is to find a combination of conditions where the plate looks normal at night when lighted from the rear and still fool the radar camera. More on this in due course.

Finally, sanding out the reflective properties of the plate might be a good strategy for the FRONT plate to defeat LIDAR, and wound be a good project to try. Sanding all the nooks and cranies around the characters might be tedious but can be done (maybe with a Dremel tool?) However, this is not my main interest so I will leave it for others.

Will have more in a week or two.

Thanks again

djrams80
12-22-2008, 04:20 PM
Too bad. Excellent attempt though. I love the innovative and unique thought process.

Lucky225
12-22-2008, 04:23 PM
Too bad. Excellent attempt though. I love the innovative and unique thought process.

Yes, you must experiment to get things down right, obviously you can't always account for everything. I like this guys thinking and I think he'll have something to bring to the table eventually

x_logo
01-02-2009, 09:18 PM
So after some more thought I've decided to look into something a bit different.

According to R'flex's patent their software "finds" the license plate in the image by looking for "edges" where the average brightness suddenly changes due to the retro-reflective plate. It continues to scan across and finds where the brighness is reduced -- the other edge of the plate. On each suggessive scan it pieces together the likely postion of the plate in the photo by looking at this pattern. Then, based on the plate's boundries it has "found" in the photo, it calculates the optimum contrast and brightness to make the plate visible.

My idea has been to fool the software into overexposing the plate so the characters are lumped into the brightest level and therefore can't be read. As mentioned above, dinking with the plate's reflective properties is easily observed by Jonny Law.

My alternative plan includes three items.

First the plate is modified just a little to make the characters retro-reflective so it is less visible compared to the bright background. I've tried this and it will need more work. I **think** it can be done so it isn't too noticable to the eye --day or night. As it is, I've noticed that after a few years the paint tends to fade a bit. This is useful.

Second is to apply highly retro reflective material (tape?) which matches the retro-reflective intensity of the plate's background around the edges of the plate in a such a way that with each succesive line read, the software returns a different "width" value so it is no longer recognized as a rectangle. I'll get some photos up of the shape when I have a bit more testing done. Basically, imagine the software trying to "find" the rectangular plate but instead only sees a distorted triangle and ignores it -- thinking it is just a bright blob like a goofy shaped tail light reflector, the sun's reflection off the window or rear bumper.

Third is a DECOY PLATE mounted on the bumper. It has two characteristics: a highly retro-reflective border which the software will clearly recognize as the edges of a real plate. And second, the inside of the plate is somewhat dark and non-reflective, with perhaps a characters of little contrast -- maybe a football team's name? Initials?

As you can already imagine, the computer ignores the real plate and locks on to the decoy plate. Because it is dark, it gains up the brightness. Because there is intentionally little difference in the intensity the computer adds a lot of contrast to try to boost up the differences. In theory, the computer's software will try to make the decoy plate readable and in the process the real plate becomes overexposed and cannot be read.

I can calculate the brighness and contrast rules the software uses to make the photo and then use my photo shop software to emulate how the decoy plate is read and what happens to the real plate.

Going to be busy and this will take some time so look for an update in a couple weeks.

Happy New Year, one and all.

Lucky225
01-02-2009, 09:47 PM
You sir, are awesome.

x_logo
01-03-2009, 12:06 PM
Thanks for the knid words.

Just a further thought. Jan 1 brought a new law in AZ -- no plate holder/frame can obscure the word ARIZONA at the very top of the plate. This new law was passed just a short time after the photo radar was installed on Interstate 10. The news reported that this was required so the cops arn't confused -- there are many versions of AZ plates and, if you believe it, the cops can't keep them straight without the word "ARIZONA" to remnd them. The fine is between $100 to $200. Sorta big bucks -- almost as much as, you guessed it, a photo radar ticket. .

Lets do the smell test::


1) Why now? Plates holders that obscure the word ARIZONA on the current plate have been used for something like 20 years. One would think that if this a real problem it would have cropped up many, many years ago.

2) The fine is between $100 - $200,. Why so much? Seems very unusual for such a small infraction.

3) Cops look at plates every day, year in and year out. If they don't have all the forms of Arizona plates memorized by now then they are metally defective -- not likely. In fact, cops have been known to memorize car descriptions and the first couple characters of "bad guy" plates.

4) The word "Arizona" can't be read from more than a car length or two. It doesn't matter in the normal course of traffic enforcement. Cops generally don't try to "run a plate" while they have both hands on the wheel driving in traffic anyway.

5) So the final argument is: when the cop is stopped, pulled over to the side of the road, and "runs the plate" he doesn't know what state to specify when he types the plate number into the car's computer? I don't think so. Besides, lets say its a Washington state plate and the cop punches in AZ instead. What comes back is "no such plate" or doesn't match the car itself This leads to MORE investigation, not less. Clearly the bad guys are not going to be overlooked if the cops punch in the worng state.

Seems to me this fails the smell test -- badly. .

My guess is that after a couple months of high volume I-10 photo radar it was discovered that a plate frame which obstructs to top edge retro-reflective characteristics of the plate confuses the photo radar software. In short: they are likely LOSING MONEY which explains why now. Instead of re-writing the software, the law was passed -- shifting the problem to the car owner who will get clipped $100 to $200, at the high end, about the same as a photo radar ticket if they don't remove the plate frame. Win-Win for the state. Even better, it gives the cops a "pretext" to make otherwise illegal stops.

Or

... a cleaner view of the plate will be needed for the next generation of photo radar currently under development. Present photo radar processing is labor intensive. Each photo has to be inspected, the passenger's face blockied and the plate number manually entered into the system by a real human. I imagine testing is underway to have the computer do this automatically -- untouched by humans except when the computer fails to ID the plate. This is yet another reason for why now - I think the new law is setting the stage for this next development - MORE REVENUE through even more automation, hence tighter control of the plate's appearance to the camera.

Either way, MONEY is the driving force.

From the photo of the back of my wife's car when she was clocked, it appears that the camera was very carefully aligned to make the plate appear level -- wihtin one pixel or so. I imagine this must be carefully done -- likely for a very good reason.

In sum, the software might be much more fragile and the R'flex programmers much more lazy than I thought.

Lucky225
01-03-2009, 07:08 PM
Calm down killer, at least it isn't like the 2003 texas law (FINALLY REPEALED OCTOBER 2007) that said if the plate frame or anything attached to the plate "obscured 'any feature'" of the plate, you were fined with a Class C Misdameanor. The courts held that this meant even if "one starry-star, the space shuttle, or any other "doo-dads" on the plate were obscured by a plate bracket/frame, that you were in violation of the law. In 2007 it was repealed and re-enacted to say that you must obscure the plate COLOR, numbers, or half of the State name.

ahmadr
01-04-2009, 01:39 AM
Very interesting.

Do keep in mind that you might have gotten a scaled down or recompressed version of the image, leading to less pixels and levels

x_logo
01-04-2009, 11:46 AM
You might be right about a reduced pixel photo I donwnloaded from the DVD.

The orignal patent calls for 16 shades of gray but I only count about 8 when blown up on the screen.

United States Patent: 6240217 (http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&co1=AND&d=PTXT&s1=6,240,217.PN.&OS=PN/6,240,217&RS=PN/6,240,217)

However, this was back in 2001 and maybe they have made improvements so they only need 8 levels instead of 16. This cuts the image size and subsequent storage-handling of the data in half.