Source code for the client part of the COSBAS, well anything related to the client
- To setup and run OpenCV with Jetbrains IntelliJ IDEA:
- Click on File -> Project Structure (CTRL + ALT + SHIFT + S)
- In the middle window, click on the green + (New Project Library) and select Java
- Navigate to the directory where OpenCV was extracted. (i.e. F:\opencv\build\java\opencv-300.jar) and select opencv-300.jar
- Next, to run OpenCV without a link error, select (double click) the source file of the application you want to run.
- In the menu pane, select "Run" then click on "Edit Configurations"
- In the Application VM field, enter the following command: -Djava.library.path="F:\opencv\build\java\x64"
- F:\opencv\build\java\x64 is the directory where opencv's x64 libraries are located.
- Click Apply
- In the terminal, run gradle bootrun.
- If gradle tells you to re-import a project due to missing dependencies, etc...
- Go to View -> Tool Windows -> Gradle
- In the window that pops up, click the blue refresh button (Refresh All Gradle Projects)
- In the terminal, run Gradle Bootrun