
Welcome!
VisionBench (formerly EOCV-Sim) is a straightforward way to test your pipelines in a
simple user interface directly in your computer, simulating the EasyOpenCV library & a bit of
FTC SDK structure, allowing you to simply copy paste directly your pipeline code once you want to
transfer it onto your robot!
Introducing VisionGraph
VisionBench comes with a tool that will make it even easier to work on your computer vision pipelines.
VisionGraph takes inspiration in industry-leading node editor tools, allowing you to create pipelines by connecting nodes together.
VisionGraph is still in its early stages, but it’s already a powerful tool that will make it easier to work on your pipelines.
Find it in the “VisionGraph” tab in the bench !
Learn how to install and use VisionBench in the documentation here
For the past 4 years I’ve been developing and maintaining learning tools for robotics kids to have a better understanding of programming and computer vision. Now that I’ve graduated from the robotics competition and I’m headed to college it is my goal to keep maintaining and improving these tools for future generations to keep learning, completely cost-free and open source. Your donation in buy me a coffee will help me maintain those goals through the following years as life gets busier. It is completely voluntary, but it will help ensure these tools remain accessible and continuously improved for future robotics enthusiasts. Thank you for considering supporting my passion for robotics!
- Sebastian Erives, deltacv’s main dev
Acknowledgments
YourKit supports open source projects with innovative and intelligent tools
for monitoring and profiling Java and .NET applications.
YourKit is the creator of YourKit Java Profiler,
YourKit .NET Profiler,
and YourKit YouMonitor.
Compatibility
Since OpenCV in Java uses a native library, which is platform specific, the simulator is currently limited to the following platforms:
- Windows x86_64 (tested)
- Windows x86 (untested)
- MacOS x86_64 (tested)
- MacOS AARCH64/Apple Silicon (untested)
- Linux x86_64 (tested for Ubuntu 20.04)
- Linux ARMv7 & ARMv8 (partially tested in Raspbian but not officially endorsed)
Downloading and documentation
Follow the steps in this page to download the sim. The rest of the documentation can also be found there.
Adding EOCV-Sim as a dependency for plugin development
NOT FOR FTC SDK USAGE, please follow the documentation above if you’re a normal user not aiming to develop for EOCV-Sim
Gradle
repositories {
mavenCentral() //add maven central as a maven repo
}
dependencies {
implementation 'org.deltacv.VisionBench:VisionBench:2027.0.0' // add the VisionBench dependency, make sure to replace for the latest version
}
Maven
Adding the VisionBench dependency
<dependency>
<groupId>org.deltacv.VisionBench</groupId>
<artifactId>VisionBench</artifactId>
<version>2027.0.0</version>
</dependency>
For bug reporting or feature requesting, use the issues tab in this repository.
Join the deltacv discord server !
Change logs
- This is the 36th release for EOCV-Sim
- Adds PaperVision v1.1.0
- Bugfixes:
- Fix order of plugin API disabling actions to avoid “already disabled exceptions” during that phase
- Fixes CME in EventHandler edge cases relating to improper locking when adding new listeners
- This is the 35th release for EOCV-Sim
- Complete internal rework of the EventHandler system
- Eliminates listener execution blocking during registration and removal
- Guarantees listeners added during a tick are deferred to the next tick
- Improves thread-safety without relying on full execution locks
- Reduces contention and avoids unnecessary allocations in hot paths
- PaperVision is still absent in this release and will be added in the next patch, awaiting for Maven Central publication
- This is the 34th release for EOCV-Sim
- Major update to the plugin API, implementing a stable interface that abstracts away EOCV-Sim’s internal workings and allows for better compatibility across versions
- Moves some APIs and utilities into the Common module, including the plugin API
- Plugin developers are now expected to depend on the Common module instead of EOCV-Sim directly, as EOCV-Sim’s internal APIs may change without notice
- PaperVision is absent in this release and will be added in the next patch, awaiting for Maven Central publication
- This is the 33nd release for EOCV-Sim
- Updates PaperVision to 1.0.10
- Fixes issues #136 and #137
- Adds embedded PaperVision as a separate shadow jar file instead of being an integrated dependency to fix a hard to trace native crash
- This is the 32nd release for EOCV-Sim
- Adds HTTP input source to support MJPEG streams as an input source. Limelight cameras can stream to EOCV-Sim !
- Updates to PaperVision v1.0.7
- Addresses the changes made to the Vision module in the FTC SDK v11.0
- PaperVision is now embedded in EOCV-Sim’s binary instead of being downloaded on startup
- This is the 31th release for EOCV-Sim
- Adds a plugin auto-updater, which will automatically check for updates on the plugins you have pulled using repository.toml
- Adds a dialog prompt when another EOCV-Sim instance is detected, instead of silently failing
- Updates to PaperVision v1.0.4
- This is the 30th release for EOCV-Sim
- Introducing PaperVision ! A tool bundled in the simulator that will make it even easier to work on your computer vision pipelines.
- Auto-accepts superaccess on trusted plugins, this reduces the UI clutter, especially for PaperVision
- Improved several dialogs, adds a better “create workspace” dialog & a welcome dialog that is shown when the sim is opened for the first time
- New modernized application icon
- @qwertychouskie made their first contribution: “macOS: Add application name, use system light/dark mode in titlebar” and “macOS: Use standard Settings & About entries in menu”. Thank you !
- This is the 29th release for EOCV-Sim
- Migrates all of EOCV-Sim’s artifacts to the maven central repository (bye bye JitPack)
- Bugfixes:
- Adds error checking at multiple points of the sim to handle simple edge cases that shouldn’t cause an app crash
- This is the 28th release for EOCV-Sim
- Improves plugin classloader classpath loading by caching and resource reusage, this brings an extremely noticeable performance boost for plugins that load a lot of class files from different Maven dependencies in a short amount of time (I’m looking at you Javalin)
- Stops SuperAccessDaemon from creating a separate log file
- This is the 27th release for EOCV-Sim
- Internal changes:
- Opens streamer field access of StreamableOpenCvPipeline
- Bugfixes:
- Fixes incorrect buffer sharing in org.opencv.android.Utils, which caused funny flickering
- Restructures cache files into a single folder to avoid cluttering the plugins folder
- This is the 26th release for EOCV-Sim
- Bugfixes:
- Fixes shadow jar, uses mergeServiceFiles to fix failing to pull plugins from a maven repository
- This is the 25th release for EOCV-Sim
- Changelog
- Updates AprilTagDesktop to 2.1.0-C, enabling support for Linux AARCH64.
- Implements a system that allows for plugins to be downloaded from a maven repository and loaded into the simulator.
- New repository.toml file that contains the list of repositories to download plugins from and the maven coordinates to download.
- Adds a new dialog to manage the loaded plugins and check the output of the plugin system.
- Rewrites SuperAccess verification to be handled by a separate JVM process, ensuring that the main process is not compromised by malicious code.
- Implements a plugin signature verification system to allow for authors to sign their plugins and ensure that they are not tampered with.
- The signature is stored on a custom format in the plugin jar, the signing authorities are pulled from a public key database.
- When making a SuperAccess request, the user is warned if the plugin is not signed or if the signature is invalid.
- Adds a KeyGeneratorTool and PluginSigningTool to allow for easy generation of keys and signing of plugins respectively.
- Internal changes:
- Adds a PolymorphicAdapter class to allow for easy serialization while retaining type information.
- Improvements to the handling of JavaProcess.
- This is the 24th release for EOCV-Sim
- Changelog
- Update skiko to 0.8.15
- Fixes Typeface.DEFAULT_BOLD and Typeface.DEFAULT_ITALIC to actually work
- Adds a stub no-op implementation for the FTC SDK Gamepad class into OpMode
- Adds android.opengl.Matrix implementation and matrices from the FTC SDK
- Adds navigation classes from the FTC SDK (AngleUnit, AxesOrder, AxesReference, etc)
- Adds the ConceptAprilTagLocalization, ConceptVisionColorLocator and ConceptVisionColorSensor samples
- Reimplements Telemetry to EOCVSimTelemetryImpl with stubs for Telemetry#talk
- Internal changes:
- Plugin virtual filesystems now use the name and author in the TOML to generate the fs name
- Allows to specify JVM args in JavaExec
- Rename some internal classes
- Better handling of Pipeline/OpMode tab switching
- This is the 23nd release for EOCV-Sim
- Changelog
- Addresses the changes made in the FTC SDK 10.1 for the 2024-2025 season:
- Adds new OpenCV-based VisionProcessors (which may be attached to a VisionPortal in either Java or Blocks) to help teams implement color processing via computer vision in the INTO THE DEEP game
- Internal changes:
- Fixes virtual filesystem by scrapping jimfs and using a zip filesystem.
- Implements virtualreflect api for variable tuner to abstract away the reflection api and allow for future diverse implementations.
- Implements StreamableOpenCvPipeline to allow for diverse implementations of streaming different Mat stages of a pipeline to a target.
- Bugfixes:
- Fixes exception loop when an exception is thrown from pipeline init
- This is the 22nd release for EOCV-Sim
- Changelog
- Addresses the changes made in the FTC SDK 10.0 for the 2024-2025 season:
- Adds the INTO THE DEEP AprilTag Library with accurate tag locations.
- Brand-new plugin system for EOCV-Sim, allowing for easy integration of new features and libraries from the community (documentation pending, oops).
- Adds the ability to load plugins from the user’s filesystem.
- Implements virtual filesystem for plugins, allowing for a sandboxed environment away from the user’s filesystem.
- Implements whitelist and blacklist for plugins and dynamically loaded pipelines, allowing for a sandboxed environment.
- This is the 21st release for EOCV-Sim
- Bug fixes:
- Addresses #110 by properly cloning underlying skiko Paint in android.graphics.Paint(Paint) constructor
- This is the 20th release for EOCV-Sim
- Changelog
- Addresses the changes made in the FTC SDK 9.0 for the 2023-2024 season:
- Adds the CENTERSTAGE AprilTag Library with accurate tag locations
- Exceptions thrown from OpenCvCamera/VisionPortal’s attached user code created within OpModes is now reported as part of EOCV-Sim’s output dialog to allow for easier debugging
- This is the 19th release for EOCV-Sim
- Changelog
- Addresses the changes made in the FTC SDK 9.0 for the 2023-2024 season:
- Fields in AprilTagDetection and AprilTagPose(ftc/raw) objects are now final
- VisionPortal builder method setCameraMonitorViewId() has been renamed to setLiveViewContainerId() and enableCameraMonitoring() has been renamed to enableLiveView()
- This is the 18th release for EOCV-Sim
- Changelog
- Addresses the changes made in the FTC SDK 8.2 to prepare for the 2023-2024 season:
- EOCV-Sim’s Viewport implementation has been changed to one using Skiko (Skia) rendering - to address new features implemented in EasyOpenCV v1.7.0
- The VisionPortal & VisionProcessor interfaces have been implemented onto EOCV-Sim - VisionProcessors are treated just like OpenCvPipelines and are automatically detected by the sim to be executed from the user interface.
- In order to use the VisionPortal API, OpModes have been added onto the simulator - a new “OpMode” tab on the user interface has been added to address this addition. NOTE: OpModes are only limited to use VisionPortal APIs, other FTC SDK apis such as hardware DcMotor have not been implemented.
- A new public API for android.graphics has been adding onto the simulator, translating android.graphics API called by the user into Skiko calls, adding compatibility to the new features in EasyOpenCV v1.7.0 related to canvas drawing.
- AprilTagProcessor has also been implemented straight from the SDK, allowing its full API to be used and attached to a VisionProcessor - see this example OpMode.
- AprilTagDesktop plugin has been updated to match EOCV-AprilTag-Plugin v2.0.0
- Support for Apple Silicon Macs has been added to AprilTagDesktop
- Several quality of life upgrades to the UI
- Bug fixes:
- Fixes issues related to pipeline and input source selection - UI components now exclusively react to user interactions as opposed to past versions where changes triggered by EOCV-Sim were picked up as user-made and caused several issues
- This is the 17th release for EOCV-Sim
- Changelog
- Update OpenCV to 4.5.5, adding M1 support
- Disables OpenIMAJ webcams when not using x86_64
- Initial EOCV-Sim release.
评论