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

Edge detect is not working correctly #1576

Closed
rishabhshuklax opened this issue Jan 26, 2020 · 19 comments · Fixed by #1629
Closed

Edge detect is not working correctly #1576

rishabhshuklax opened this issue Jan 26, 2020 · 19 comments · Fixed by #1629
Assignees
Labels

Comments

@rishabhshuklax
Copy link
Member

Please describe the problem (or idea)

What happened just before the problem occurred? Or what problem could this idea solve?

I tried running edge detect in browser and it gave following output (default values)

Screenshot from 2020-01-26 07-35-06

I tried running edge detect in node and it gave following output (default values)

image_1

What did you expect to see that you didn't?

Please show us where to look

https://beta.sequencer.publiclab.org

What's your PublicLab.org username?

This can help us diagnose the issue:

Browser, version, and operating system

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

@rishabhshuklax
Copy link
Member Author

@harshkhandeparkar could you look into this!

@rishabhshuklax
Copy link
Member Author

@publiclab/is-reviewers can anyone please look into this!

@harshkhandeparkar
Copy link
Member

Looking 🔍

@harshkhandeparkar
Copy link
Member

Got a fix! That was very fast.

@harshkhandeparkar
Copy link
Member

Can't make out whether it is working or not. sequencer.publiclab.org was working just fine some time back but now even that is not producing the expected output.

@harshkhandeparkar
Copy link
Member

Okay, I don't know what to do now. This could even be a browser problem. Now I cannot test it on another browser because FF doesn't work 😿

@rishabhshuklax
Copy link
Member Author

Try to repeat following steps:

  1. Open beta site
  2. Load edge detect module
  3. Change the image to this

Save the generated output and then remove the edge-detect step and clear the cache, now follow the following steps:

  1. Open beta site.
  2. Load this image.
  3. Add edge-detect step

Now compare the two outputs.
My results:

Output 1:

download (7)

Output 2:

download (8)

@harshkhandeparkar could you confirm this.

@rishabhshuklax
Copy link
Member Author

Okay, I don't know what to do now. This could even be a browser problem. Now I cannot test it on another browser because FF doesn't work

IS also doesn't work on safari :(

@harshkhandeparkar
Copy link
Member

harshkhandeparkar commented Jan 30, 2020

The outputs ARE different! What?

@rishabhshuklax
Copy link
Member Author

OMG! The outputs ARE different! What???

🤣 my reaction exactly

@rishabhshuklax
Copy link
Member Author

@harshkhandeparkar Could you make it work without using gpu.js and confirm if the problem still persists

@rishabhshuklax
Copy link
Member Author

@jywarren could you please look into this!

@harshkhandeparkar
Copy link
Member

GPU.js is actually only used for blur. If that is working then I don't think it's a GPUjs problem.

@rishabhshuklax
Copy link
Member Author

Yea you're right, I just checked.
What do you think the problem could exactly be?

@harshkhandeparkar
Copy link
Member

I think I'll work on this for Bug Stomp February.

@harshkhandeparkar
Copy link
Member

Hey guys! I think I found out the issue!
Screenshot from 2020-02-15 19-46-50

It is mixing up images somehow.

@harshkhandeparkar
Copy link
Member

The QR image was loaded before loading the flowers.

@harshkhandeparkar
Copy link
Member

@publiclab/is-reviewers

@harshkhandeparkar
Copy link
Member

FIXED! Opening a PR soon!
@publiclab/is-reviewers

@harshkhandeparkar harshkhandeparkar added the has-pull-request Issues which have a PR open label Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants