Skip to content

Fix runtime warning #5

@HelioStrike

Description

@HelioStrike

Referencing this line.

/usr/local/lib/python3.7/dist-packages/handwritten_notes_maker/__init__.py:86: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
  page[list(np.array([[self.top_ptr],[self.left_ptr]]) + np.where(img == 0))] = [0,0,0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions