For a detailed report, please visit https://julie-jiang.github.io/image-segmentation/.
python imagesegmentation.py filename
A new window will pop up showing your image. Use your cursor to mark object seeds, which would be shown in red. Once you're done, press esc
. Then do the same to mark background seeds, which would be shown in green.
- Python 2
- OpenCV 3.3
- NumPy
test1.jpg
Original, seeded, and segmented image
test2.jpg
Original, seeded, and segmented image
test3.jpg
Original, seeded, and segmented image
baby.jpg
Original, seeded, and segmented image