Ear-segmentation-ai
Ear-segmentation-ai copied to clipboard
[BUG] 🐞 Probably a folder path issue in image mode?
Describe the bug Hello, There seems to be a tiny issue with the image mode. According to the sample code, I need to give the image file name while using the image mode:
python -m earsegmentationai.main picture-capture --folderpath "/path/filename.png" --device "cpu"
and this is safeguarded in the following code https://github.com/umitkacar/Ear-segmentation-ai/blob/7a48dec8fdce2ba60ed5407e7b6fa984b656fae8/earsegmentationai/main.py#L62-L68
However, in ear_segmentation_image
the passed path is supposed to be a folder path that contains the picture(s)
https://github.com/umitkacar/Ear-segmentation-ai/blob/7a48dec8fdce2ba60ed5407e7b6fa984b656fae8/earsegmentationai/image_mode.py#L45-L49
then I guess data_samples
will be empty all the time if file path is given?
To Reproduce
- Run the example code of the image mode, provided in the README.MD
- Image cannot be found