
ptp
USA
Asked
— Edited
When training a new object the learn area size (red rectangle) is always 80 x 80.
I've tried different resolutions and the rectangle size does not increase.
1) Is there away to increase the learn area size ?
2) When i finish the learning process generates an error:
Quote:
Error Camera.SetCaptureImage: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Panel'.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.Invoke(Delegate method)
at EZ_B.Camera.wAT7kMACFt(Object )
Camera Disabled
Your panel is still trying to be used when it's disposed. If you post your code I can assist further
add Camera Object
and start tracking
If this is ARC, can you provide the steps that lead to this error?
new project
add controls > camera
Video Device> Select USB Camera
Start Button
Object Tab> Train new Object
Press top corner
Name of Object: Test1
Learn Selected
*** wait ***
Done Button
What USB camera make/model is it? Built-in laptop? Or external?
Also, i should note on the "object size" question: