Primo.ColorDetector
1.0.2
dotnet add package Primo.ColorDetector --version 1.0.2
NuGet\Install-Package Primo.ColorDetector -Version 1.0.2
<PackageReference Include="Primo.ColorDetector" Version="1.0.2" />
<PackageVersion Include="Primo.ColorDetector" Version="1.0.2" />
<PackageReference Include="Primo.ColorDetector" />
paket add Primo.ColorDetector --version 1.0.2
#r "nuget: Primo.ColorDetector, 1.0.2"
#:package Primo.ColorDetector@1.0.2
#addin nuget:?package=Primo.ColorDetector&version=1.0.2
#tool nuget:?package=Primo.ColorDetector&version=1.0.2
About
Primo.ColorDetector is a set of ready-to-use activities for Primo RPA Studio designed to automate color detection from images and screen coordinates. It addresses the need to identify colors in visual data within automated processes. Key activities include: detecting color from an image and detecting color from the screen. The package can be added to any Primo RPA Studio project via the built-in dependency manager.
How to Use
In Primo RPA studio, create a project that will be executed by Primo RPA robot. Install this package via the ".Dependencies → Manage Dependencies" menu; the "Color Detector" node with package elements will appear in Elements tree.
Elements
- Color from image
- Color from screen
Pure code
Primo.ColorDetector.DetectorApp app = new Primo.ColorDetector.DetectorApp();
//image - [Bitmap] Image to detection
//colorType - [Primo.ColorDetector.Model.ColorType] Type of color (PrimaryColor or KnownColor)
public Dictionary<int, string> colors = app.ColorFromImage(image, colorScheme)
//x - [Int32] X on screen
//y - [Int32] Y on screen
//colorScheme - [Primo.ColorDetector.Model.ColorType] Type of color (PrimaryColor or KnownColor)
string colorName = app.ColorFromScreen(x, y, colorScheme)
Key Features
- Elements to detect colors.
- Supports .NET Framework 4.6.1+
Feedback
Bug reports and contributions are welcome at Primo RPA chat
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.