mirror of
https://github.com/jlengrand/jlengrand.github.io.git
synced 2026-03-10 08:31:22 +00:00
Removes some of the strange html characters
This commit is contained in:
@@ -29,7 +29,7 @@ Here is an example :
|
||||
|
||||
import cv
|
||||
|
||||
img = cv.LoadImage("test.jpg")
|
||||
img = cv.LoadImage("test.jpg")
|
||||
dims = cv.GetSize(img)
|
||||
roi = [0, 0, dims[0] / 2, dims[1] / 2 ]
|
||||
cv.SetImageROI(img, roi)
|
||||
@@ -39,7 +39,7 @@ You will get this result:
|
||||
|
||||
[python]
|
||||
Traceback (most recent call last):
|
||||
File "newfile.py", line 8, in <module>
|
||||
File "newfile.py", line 8, in <module>
|
||||
cv.SetImageROI(img, roi)
|
||||
TypeError: CvRect argument 'rect' expects four integers
|
||||
[/python]
|
||||
|
||||
Reference in New Issue
Block a user