Possibly think about using an off-the-shelf passive infrared detector, angled such that it will only detect the top of the bimini.
Note that most of these units detect at an angle to the incoming traffic, not straight on as one might imagine.
They also do not like direct sunlight on the front...