By Mike Schuh

BALTIMORE, Md. (WJZ) — For years, Baltimore has struggled with keeping litter off city streets.

Now, in an effort to tackle the trash problem, the city has another tool in its arsenal.

READ MORE: Community Says Farewell At Funeral Of Slain Church Employee Evelyn Player

64 solar-powered, trash-compacting, smart trash cans are being installed around Baltimore. The new cans crush inserted trash and when full, send a signal to the city to come and empty it.

Mayor Catherine Pugh is well aware that the cans are only part of the solution.

“But the real first tool is this — our hands,” Pugh said. “Because trash doesn’t get on the ground by itself.”

READ MORE: Murder Trial Begins For Keith Smith, Man Who Claimed Baltimore Panhandler Killed His Wife

In Cherry Hill, residents like Tim McLaurin share their thoughts.

“When it gets too full, the city comes and picks it up,” McLaurin said. “That sounds good. Is it going to happen? You mean will the city pick it up or will people use it? They’ll probably use it but will they pick it up?”

The cans cost $1.2 million, but the city isn’t paying a dime: $300,000 came from the Casino Local Development Council, with the other $900,000 coming from the Port of Baltimore, where most of the trash ends up.

MORE NEWS: 'He Would Want Us To Go To States': Death Of Teammate Driving Mervo Ahead Of Football Championship

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook