Detect valve position without colors I can't find a solution for my problem and I need your help.

I have to create an application to detect if a valve is open or close like this :

https://www.youtube.com/watch?v=VY92fqmSdfA

Some valves had a handle with color, but some valve don't, I dont know how I am going to resolve this problem to detect the valve position "close" or "open" without colors, I can't use machine learning because I have only 3 valves without colors and I can't create a large database.
Template matching in the link below will work as a solution.

https://www.docs.opencv.org/2.4/doc/tutorials/imgproc/histograms/template_matching/template_matching.html

The downside is you will need templates of all your valves handles(coloured or not), also the templates and images will have to be the same resolution. 
Based on whether the template or the template rotated by 90 degrees matches you can come to a decision on the valves state.