MicrosoftLearning / mslearn-ai-vision

Lab files for Azure AI Vision modules
https://microsoftlearning.github.io/mslearn-ai-vision/
MIT License
133 stars 272 forks source link

Labfiles\04-face\Python\computer-vision\detect-people.py invalid sytax error #24

Open ReneeDeLuca opened 3 months ago

ReneeDeLuca commented 3 months ago

From instructions during lab

... for detected_people in result.people:

Draw object bounding box if confidence > 50%

if detected_people.confidence > 0.5: ...

next step in the lab is to run

python detect-people.py

returns a syntax error, fixed by changing > to >=

mslearn_ai_vision_04-face_python_computer-vision_detect-people-py

GraemeMalcolm commented 3 months ago

This seems to be a bug in the way the Skillable environment renders code in the instructions.