Skip to content

not able to run learn.py script  #1

@Pratikhyadav

Description

@Pratikhyadav

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

  1. From where it will fetch image?
  2. Can you provide proper step to run it correctly with example

Let me know if your need more detail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions