USA
Asked — Edited

Camera Train New Object Learn Area Size

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


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
Synthiam
#1  

You cannot change the size

Your panel is still trying to be used when it's disposed. If you post your code I can assist further

PRO
USA
#2  

I have no code, it's a new project: add Camera Object and start tracking

PRO
Synthiam
#3  

can you elaborate? Is this sdk or ARC or plugin?

If this is ARC, can you provide the steps that lead to this error?

PRO
USA
#4  

open ARC 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

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 )

PRO
Synthiam
#5  

Strange - and that happens for you every time?

What USB camera make/model is it? Built-in laptop? Or external?

PRO
Synthiam
#6  

Not entirely sure if this will fix it because i am unable to recreate it. Give it a shot: https://synthiam.com/Community/Questions/9340

Also, i should note on the "object size" question:

Quote:

For best results, consider that you are teaching the robot specific details of the object, not the object itself. This means the entire object does not need to be in the training square. Only details which are unique to that object need to be in the training square. For example, you may not wish to teach the robot a can of soda/cola by putting the entire can in the square. Merely put the logo in the square, or any other identifying features.