This commit is contained in:
whoswhip
2025-07-17 20:01:15 -04:00
+4 -43
View File
@@ -1,52 +1,13 @@
# Spectrum # Spectrum
Spectrum is a semi-universal colorbot that uses C# and OpenCV for image processing. Spectrum is a semi-universal colorbot that uses C# and OpenCV for image processing.
<img width="600" height="502" alt="Spectrum Menu" src="https://github.com/user-attachments/assets/5be25068-83ca-4e65-82d9-f523c93ade64" />
## Features ## Features
- Extensive configuration file - Extensive configuration file
- Dataset collection - Dataset collection
- Multiple mouse movement paths - Multiple mouse movement paths
- IMGui Menu
## Configuration - FOV Overlay
On first run, a default configuration file is created. - Detection Overlay
### Parameters
| Parameter | Range/Options | Default Value | Description |
|---------------|-----------------------|---------------|---------------------------------|
| `ImageWidth` | 1 - ScreenSize | 640 | Defines the width of the image |
| `ImageHeight` | 1 - ScreenSize | 640 | Defines the height of the image|
| Parameter | Range/Options | Default Value | Description |
|-------------------|---------------|---------------|---------------------------------|
| `YOffsetPercent` | 0.0 - 1 | 0.8 | Sets the vertical offset |
| `XOffsetPercent` | 0.0 - 1 | 0.5 | Sets the horizontal offset |
| Parameter | Range/Options | Default Value | Description |
|--------------------|-------------------------------|---------------|---------------------------------------------------------|
| `EnableAim` | true or false | true | Enables or disables aim functionality |
| `ClosestToMouse` | true or false | true | Determines aiming at the closest target to the mouse |
| `Keybind` | 1 - 254 | 6 | Virtual key codes are used for keybinding |
| `Sensitivity` | 0.1 - 2 | 0.5 | Defines the sensitivity of the aim |
| `AimMovementType` | CubicBezier, Linear, Adaptive| CubicBezier | Specifies the type of aim movement |
| Parameter | Range/Options | Default Value | Description |
|-----------------------|---------------|---------------|---------------------------------|
| `ShowDetectionWindow` | true or false | true | Displays the detection window |
| Parameter | Range/Options | Default Value | Description |
|---------------------------|---------------|---------------|-----------------------------------------------|
| `CollectData` | true or false | false | Enables or disables data collection |
| `AutoLabel` | true or false | false | Depends on `CollectData`; auto-labels data |
| `BackgroundImageInterval` | 1 - 100 | 10 | Sets interval for background image collection|
| Parameter | Sub-Parameter | Range/Options | Default Value | Description |
|-------------|---------------|---------------|---------------|---------------------------------|
| **UpperHSV**| `Val0` | 0 - 255 | 150 | Hue |
| | `Val1` | 0 - 255 | 255 | Saturation |
| | `Val2` | 0 - 255 | 229 | Value |
| | `Val3` | 0 | 0 | |
| **LowerHSV**| `Val0` | 0 - 255 | 150 | Hue |
| | `Val1` | 0 - 255 | 255 | Saturation |
| | `Val2` | 0 - 255 | 229 | Value |
| | `Val3` | 0 | 0 | |
## Dataset Collection ## Dataset Collection
When `CollectData` and `AutoLabel` are enabled, Spectrum automatically generates: When `CollectData` and `AutoLabel` are enabled, Spectrum automatically generates: