Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV.js integration improvements #2800

Open
2 tasks done
bsekachev opened this issue Feb 12, 2021 · 1 comment
Open
2 tasks done

OpenCV.js integration improvements #2800

bsekachev opened this issue Feb 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bsekachev
Copy link
Member

bsekachev commented Feb 12, 2021

My actions before raising this issue

The nearest steps:

LUV or YUV should work too with equalizeHist() (less computations)

Also possible features for later milestones:

OpenCV contrib is not well supported yet.

Has very limited approach (detects bounding box/boxes of similar objects). Scaling or rotation are not supported (from the box).
May help if we have many similar objects ( something like that: https://www.microscopeworld.com/p-3468-microscope-resolution-explained-using-blood-cells.aspx ). But we still need multiple patterns.

  • OpenCV browser tracking

Modern tracking algorithms use DNN internally (heavy task for JS and browser).


Customer feedback about intelligent scissors:

  1. Fully finished polygons often have two points in one place
  2. Sometimes there are strong deviations of automatically created line which are difficult to control because even the slightest cursor shift creates different lines
    opencv1
  3. It is necessary to add an option of "automatic bordering" for existing polygons. It would help in tasks where you need to allocate all objects in the frame without empty areas.
    4
    5
  4. Sometimes when new points are created quickly, the following message is displayed:
    RuntimeError: float unrepresentable in integer range
    8111568 - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.
  5. The cursor and the square are poorly visible
  6. It is necessary to add a limit to the possible size of the threshold or a warning about possible slowdown of the working process (when the action threshold is very big the performance is low).
  7. Due to the square shape of the action's threshold, it turns out that diagonal lines can be longer than horizontal and vertical ones. Perhaps, it would be better to develop an option to rotate the square or change the action's threshold shape to a circle instead of the square.
@bsekachev bsekachev added bug Something isn't working enhancement New feature or request labels Feb 12, 2021
@bsekachev bsekachev self-assigned this Feb 12, 2021
@nmanovic
Copy link
Contributor

The tool is already implemented in popular graphical editors. I will suggest following BKMs: https://www.photoshopessentials.com/basics/selections/magnetic-lasso-tool/.

@bsekachev bsekachev changed the title OpenCV Intelligent scissors improvements OpenCV.js integration improvements Feb 19, 2021
@nmanovic nmanovic removed the bug Something isn't working label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants