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

toggle_slow() throws error #112

Closed
mnutt opened this issue Aug 22, 2019 · 2 comments
Closed

toggle_slow() throws error #112

mnutt opened this issue Aug 22, 2019 · 2 comments

Comments

@mnutt
Copy link

mnutt commented Aug 22, 2019

Describe the bug

When calling JeefaceFilterApi.toggle_slow(true);, I see an error:

TypeError: this.Rc is not a function

To Reproduce
Steps to reproduce the behavior:

  1. Instantiate a face filter with JeefaceFilterApi.init()
  2. Call JeefaceFilterApi.toggle_slow(true);
  3. See error in console.

Expected behavior
Expected to not throw error, but to slow down detection rate to conserve battery.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Firefox
  • Version 69.0b14

Additional context
It looks like this may just be a minification problem; I don't see anywhere that Rc is defined and the minifier seems to otherwise not use this at all.

@xavierjs
Copy link
Member

Hi,

Thank you for this detailed bug report.
It should work now, I have just pushed a fix.

Best,
Xavier

@xavierjs
Copy link
Member

I close this issue since it should be resolved. Feel free to re-open it if there is still a problem :)

ThorstenBux added a commit to ThorstenBux/jeelizFaceFilter that referenced this issue Sep 1, 2019
* commit '6bb4f14ccc20f4dd477898104fc16c318161e4a7':
  [FIX] Bug in JeelizThreeJSHelper with Y offset when rotating head around X with different camera aspectRatios - see jeeliz#114
  [QUAL] Add set_videoOrientation method - jeeliz#113
  [FIX] repair toogle_slow() method - jeeliz#112
  [FIX] Correct a bug with MacOSX10.15 (Catalina) beta (set lame WebGL2)
  [DOC] add default alphaRange value in readme
  [FIX] add neural network model to fix this issue: jeeliz#85 , waiting for a real fix of the graphic driver...
jennifer39barbourtui added a commit to jennifer39barbourtui/reactnative that referenced this issue Feb 3, 2024
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

2 participants