I'm not sure what package would work best for this. I did something similar at one point in college where I tried to automatically detect certain similar shapes on an x-y axis for a bunch of different graphs. You could do something like the following.
Class labels like:
- no class
- start of region
- middle of region
- end of region
Features like:
- relative y-axis relative and absolute difference of each of the
surrounding points in a window 11 points wide
- Features like difference from average
- Relative difference between point before, point after