That’s the ticket!

A speed camera in Brooklyn tallied a bank-busting 1,551 tickets in a single day this summer, according to the Department of Transportation. At $50 a pop, the July 7 ticket blitz generated $77,550 for city coffers.

The camera is located near Ocean Parkway at the end of a 400-foot exit ramp — “a good amount of distance for drivers to adjust their speeds,” a DOT spokesman said.

Local politicians are split over the controversial camera.

The area’s city councilman, Chaim Deutsch, praised it for making roadways safer.

“If anyone is speeding . . . they deserve a summons,” he told the blog Sheepshead Bites.

But Councilman Mark Treyger has blasted the camera’s location as a speed trap.

Speed-camera violations are issued to anyone going more than 10 mph over the posted speed limit, which in this case is 30 mph.

Speedsters are sent violations in the mail within 30 days.

“So someone slowing from 50 to 40 mph or from 45 to 35 would not receive a violation,” a DOT spokesperson said.

The city is currently adding 120 new speed cameras near public schools, expected to be in place by the end of 2015.

The agency said earlier this month that its 20 existing cameras issued 183,000 tickets since January, netting about $9.2 million.