Skip to content

Commit

Permalink
Fix wrongly instantiating IRISPipeline in running simple inference …
Browse files Browse the repository at this point in the history
…examples.
  • Loading branch information
wiktorlazarski committed Dec 13, 2023
1 parent 82b69ea commit e1e999d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ import cv2
import iris

# 1. Create IRISPipeline object
iris_pipeline = IRISPipeline()
iris_pipeline = iris.IRISPipeline()

# 2. Load IR image of an eye
img_pixels = cv2.imread("/path/to/ir/image", cv2.IMREAD_GRAYSCALE)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/quickstart/running_inference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A simple inference run can be achived by running source code below.
import iris
# 1. Create IRISPipeline object
iris_pipeline = IRISPipeline()
iris_pipeline = iris.IRISPipeline()
# 2. Load IR image of an eye
img_pixels = cv2.imread("/path/to/ir/image", cv2.IMREAD_GRAYSCALE)
Expand Down

0 comments on commit e1e999d

Please sign in to comment.