Power Cell vision tracking with Limelight

I know this has been discussed. My team and I are in the process of finishing up our bot. We are using a limelight 2 to align our shooter on the front of the bot. To help gather power cells since the vectored intake wheels are impossible to get, we want to try to using an original Limelight 1 that we have on hand to help line up on power cells. We are programming in JAVA. Is this even possible as I’ve seen other teams using other vision processing. Also does anybody have any starter code to help use get started?

This is certainly possible as limelights are meant to sense color. You would want to turn the leds off and tune your threshold to the yellow color of the cell. You could then use similar programming to what one would use to line up to the vision targets on the power port to align your drivetrain to the cell.