Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

USB camera acquisition after a trigger

I need to setup a hardware

i will be using a conveyor belt and there will be coins moving on top of it linearly

the conveyor will be driven by a DC motor.

once the coin comes under my camera axis (sensed by an IR object sensor), my conveyor must stop and the image must be captured by the camera

please help me to code the software

-$hiv@
0 Kudos
Message 1 of 4
(3,279 Views)

@$hiv@ wrote:

please help me to code the software


Hi $hiv@ ,

 

Tell me where you have been struck. So that can help you much better. 

---
Silver_Shaper | CLD
0 Kudos
Message 2 of 4
(3,274 Views)

Sir wat i planned was that when the object is found the motor of the conveyor must stop first , then the camera must capture the image for processing.

i feel it difficult to synchronise it.

-$hiv@
0 Kudos
Message 3 of 4
(3,272 Views)

@$hiv@ wrote:

Sir wat i planned was that when the object is found the motor of the conveyor must stop first , then the camera must capture the image for processing.

i feel it difficult to synchronise it.


I don't know what your system setup is there, but how about instead of stopping when the coin is detected, only move when the coin is not detected (and I guess for a short period after the image is taken). Then you can just take the image, and tell the conveyor to move again.

 

As to how to get the image taken only if the conveyor is stopped?

A case statement could work (not saying it's the best way).

0 Kudos
Message 4 of 4
(3,261 Views)