Use command line instructions in sketch

edited June 2017 in Questions about Code

Hello everyone,

I'm trying to use https://github.com/fogleman/primitive go sketch for image. I've set it up on my mac environment I'd like to add some feature via processing.

Would it be possible to have the following sequence :

1 - Capture camera pic via processing (I know it is and how :)

2 - run the go program via command line in my sketch, in order to process the captured pic #1. Result is stored in folder on my harddrive.

3 - display the result as output of #2 and add a funny message.

The only isssue is #2 as the other steps are classical processing made.

Regards

Answers

This discussion has been closed.