You can do this easily in OpenCV.jl.  An example of drawing is already in 
the README.md. 


On Monday, January 12, 2015 at 12:32:17 AM UTC+1, Andrei Zh wrote:
>
> I'm trying to do the following in Julia: 
>
> 1. read image
> 2. draw some basic graphics (like lines and circles) over it 
> 3. display it
>
> Points (2) and (3) may go the other way, i.e. I don't really care if 
> drawing is done on image array in memory or on canvas. 
>
> However, I'm not sure what's the easiest way to implement this logic. 
> Basically, I'm using Images.jl and ImageView.jl, but it seems like they 
> don't support drawing at all (except for modifying underlying arrays, of 
> course). On other hand, there's Cairo and Tk, which are powerful, but seem 
> to be terrible overkill for such a simple task. 
>
> So I'm wondering: 
>
> 1. is there an easy way to do "just this"? 
> 2. If not, what is the minimal set of packages/actions needed to implement 
> this logic? 
>

Reply via email to