Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

runtime

My job as to vision system. The inspection object is Easy open End. I use the pattern match and other method. The application is running on the machine, the runtime of solve the each object is about 40ms, but accidently the value of runtime change to 130ms , after that return to 40ms. I am confused. In the application, i use many local variables, I don't konw if those local variables occupy many memory and then cause this question. Thanks
0 Kudos
Message 1 of 3
(3,567 Views)

Does the matching time changes after running your program for a long time?

 

Local variable consumes a good deal of memory if used inappropriately, however, since it is not a recursive one (that creates hundreds copies of the same variable as the old copy is not disposed), your program should not have any problem.

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

Message 2 of 3
(3,559 Views)
First may I ask how you calculate the time? How have defined your buffers. Are you using parellel while loops?
0 Kudos
Message 3 of 3
(3,547 Views)