Skip to content

Sphero red color might cause detection issues #3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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