To be more precise, in OpenCV.jl, you can do the following:

1. read image

filename = "your image"
img = imread(filename)

2. draw some basic graphics (like lines and circles) over it 

center = cvPoint(260,275)
radius = 30
color = cvScalar(0,0,255) #red 
thickness=4 lineType=LINE_AA shift = 0 
circle(img, center, radius, color, thickness,lineType, shift) 
rectangle(img, cvPoint(30,30), cvPoint(150,150), cvScalar(255,0,0), 
thickness, lineType, shift) 

3. display it

imdisplay(img, "Drawing") 
closeWindows(0,27,"")


Reply via email to