|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: Standalone image analysis.
Ok - I will reply to myself as it may help others.
1- I downloaded and installed smartDashboard on my laptop (has a built-in camera). 2- In Netbeans, I created the following (from New Project but no Main Class - in other words it is a class - bot a package). Quote:
3- Right click on project - select properties and add the following jar to the libraries (Compile): Quote:
4- Right click on the project and select BUILD 5- Copy the resulting jar file from folder NetBeansProjects\projectname\dist to folder C:\Program Files\SmartDashboard\extensions (next to WPICameraExtension.jar) 6- Double click on C:\Program Files\SmartDashboard\SmartDashboard.jar, the smartdashboard should launch. Click on View\Add and select the class name of your program : BasicCameraExtension in this example. You should see the red channel of the image taken by the laptop camera since this is what is returned. Now...from this how to do image analysis is another story... Last edited by dominique : 03-02-2012 at 13:24. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|