This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-04-04 12:10:30

olimex
New Scratcher
Registered: 2013-03-17
Posts: 4

Scratch + OpenCV running on A13-OLinuXino-WIFI

Here is small project with Scratch running on single board Linux computer + Scratchpy + OpenCV.

The OpenCV library tracks colored object and Scratch make animation with eyes following the object seen on the web camera.

http://olimex.wordpress.com/2013/04/04/a13-olinuxino-wifi-running-scratch-open-cv-demonstration/

we encountered problem while developing, OpenCV is very fast with the tracking, but sending too many coordinates to Scratch via scratchpy overflows scratchpy buffer and we had to add 70 ms delay to may scratchpy manage to send the coordinates and Scratch to process them, if somebody know how to work around this any suggestions are welcome

the project sources are on GitHub

Offline

 

Board footer