Skip to content

Sphero red color might cause detection issues #3

@The-SS

Description

@The-SS

if all(col == [255 0 0])
% frameColor = (frameK./255) .* frameCMYK(:,:,3); % Red
frameColor = frameCMYK(:,:,3); % Red
elseif all(col == [0 255 255])
% frameColor = (frameK./255) .* frameCMYK(:,:,1); % Cyan
frameColor = frameCMYK(:,:,1); % Cyan
end

Specifically, frameColor = frameCMYK(:,:,3); % Red is the Yellow layer of the image not the red one.
Keep using Cyan for detection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions