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

Crashes for 1x1 transparent GIF #6

Open
automata opened this issue Apr 13, 2015 · 0 comments
Open

Crashes for 1x1 transparent GIF #6

automata opened this issue Apr 13, 2015 · 0 comments

Comments

@automata
Copy link
Contributor

With 1x1 transparent GIFs like this one it breaks:

1) FindFaces component when 1x1 GIF loaded when canvas sent "before all" hook:
     RangeError: Invalid array length
    at pre (/Users/vilson/src/noflo/noflo-ccv/node_modules/face-detect/lib/ccv.js:127:17)
    at Object.module.exports.exports.detect_objects (/Users/vilson/src/noflo/noflo-ccv/node_modules/face-detect/lib/ccv.js:394:9)
automata added a commit to automata/ccv-purejs that referenced this issue Apr 13, 2015
Images with small sizes (< cascade's dimensions) don't crash it
anymore.
automata added a commit to automata/ccv-js that referenced this issue Apr 13, 2015
orls pushed a commit that referenced this issue Apr 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant