Hello,
I clone your project and tried to run learn.py script, but getting followinng error
$ python learn.py
Traceback (most recent call last):
File "learn.py", line 3, in
from create_feature import *
File "/home/pratik/Desktop/Python/Calorie-estimation-from-food-images-OpenCV-master/create_feature.py", line 4, in
from img_seg import *
File "/home/pratik/Desktop/Python/Calorie-estimation-from-food-images-OpenCV-master/img_seg.py", line 7
img_filt = cv2.medianBlur( img, 5)
^
SyntaxError: invalid syntax
Also have some question regarding how to use this project
- From where it will fetch image?
- Can you provide proper step to run it correctly with example
Let me know if your need more detail
Hello,
I clone your project and tried to run learn.py script, but getting followinng error
$ python learn.py
Traceback (most recent call last):
File "learn.py", line 3, in
from create_feature import *
File "/home/pratik/Desktop/Python/Calorie-estimation-from-food-images-OpenCV-master/create_feature.py", line 4, in
from img_seg import *
File "/home/pratik/Desktop/Python/Calorie-estimation-from-food-images-OpenCV-master/img_seg.py", line 7
img_filt = cv2.medianBlur( img, 5)
^
SyntaxError: invalid syntax
Also have some question regarding how to use this project
Let me know if your need more detail