I have an project where I would like to find LEGO duplo bricks with an vision library and I don't know where to start.
Could any one point me in the right direction, I have been looking on OpenCV and blobscanner. I think I know how to find just the blobs representing the bricks and there position but I would also want to know the rotation. And also one other problem is the different colors of the bricks.
Hope some one can give me some pointers.. And one more thing is that the processing sketch will be executing on an android tablet that will get images from an network camera..
Ok let me try to ex plane my problem I want to draw a ball with a horizontal line on it. And when I with the mouse courser move over the ball I want to turn the ball and then bend the horizontal line to give the impression of the ball turning.
In the end it should be both a horizontal and a vertical line but the problem is the same for both off them.
My idea is to use a ellipse to draw the ball and use a bezier for the horizontal line but I cant figure out how to calculate the control points to get the impression I want.
The real problem is how to calculate the controller points so I get a nice curve that intersects the mouse pointer when it's inside the ellipse.
See the images below where as I have programmed It now the curve will not intersect the mouse cursor. The mouse cursor is showed as a small ellipse with a point in.
I will use it on my android phone to control a robot and the "ball" I'm trying to draw is one of the controls to behave as an analog stick.
Hello I want to make a android sketch for my phone where I can control a android bot throw Bluetooth. I wounder if any one has tested any like it with android processing?
I have dune It before with original processing by using serial library will that work in android processing? I will test it any how but I don't think so.