HamsterAPIJavaEclipse
Eclipse configuration
The following steps were written based on Eclipse Neon.2 (4.6.2).
Hamster API
In order to use the Hamster API with Eclipse, you’ll need to add the .jar files to your project’s build path.
Follow the steps bellow to configure your project:
Open your project’s properties on Eclipse; Select “Java Build Path” and then select “Libraries”; Select the option “Add External JARs...” Go to your Hamster workspace and then go to de HamsterJavaInstall directory; Add CogniAlg.jar, HamsterAPICommon.jar and HamsterClient.jar files as libraries to your project; Apply the changes and then add the import statements you will need on your project. Ex: import com.cogniteam.HamsterAPIClient.Hamster; import com.cogniteam.HamsterAPICommon.Common.Log; import com.cogniteam.HamsterAPICommon.Messages.Image; import com.cogniteam.HamsterAPICommon.Parameters.HamsterClientParameters;