add web api for segmentation, support multiple method
Merge pull request #81 from tesseract2048/master

add web api for segmentation, support multiple method