Help needed ASAP to detect rounded rectangle using C sharp

I need to detect the rounded rectangle in the image in order to obtain the readings inside it. If anyone could guide me to detect the rounded rectangle it would be a great help. I tried it with the emgu cv example but i couldnt detect the rectangles. Thanks!!!

If there are any sample C sharp codes available to detect the rounded rectangles please post it. Thanks

Just an off-the-wall, top-of-my-head throwaway kind of suggestion, but have you tried a C# forum?
Or any forum related to any platform better suited to image processing?

(moved from "Programming Questions")

You could try asking in the ImageMagick forum Legacy ImageMagick Discussions Archive - Index page although AFAIK it does not have a C# interface.

Pete

You need to do edge detection and compare the results with the features of a rounded square.

The features are:
2 equall length parallel lines (set A)
2 equal length parallel lines (set B)
set A is orhogonal on set B.
set of 4 quarter circles that can form a full circle without rotating any of the pieces when put together.
every line in set A is connected to a line in the other set B by means of one of the quarter circles.

There was an article in October's IEEE spectrum about a guy who used open source tools to use a webcam to capture data from his weather station. It might help:

But isn't the point about barcodes that you don't need to directly identify the area?