0
$\begingroup$
c = CurrentImage[]

returns an image. Now I try:

FindFaces[c]

it gives:

FindFaces::imginv: Expecting an image or graphics instead of c.

and c becomes empty.

Executing again

c = CurrentImage[]

gives the cryptic error:

$AbortedGeneral::cdir: Cannot set current directory to ~/.

Things start to spiral down from here, culminating in a hung kernel, then "Licensing problem" (??)

Anyone has an idea what is happening? This issue is reproducible in a new instance of Mathematica 11.

$\endgroup$
4
  • $\begingroup$ Your codes runs fine for me running V11 under OSX 10.10.5. Make sure to try it in a fresh kernel and could you provide the details of OS. $\endgroup$ Commented Aug 23, 2016 at 10:55
  • $\begingroup$ "and c becomes empty." <- Does your kernel crash? Do the numbers in the cell labels (In[1], In[2], ...) reset to 1? If yes, that indicates a crash. $\endgroup$
    – Szabolcs
    Commented Aug 23, 2016 at 11:10
  • $\begingroup$ Also try turning off the suggestions bar in Preferences -> Interface and see if that fixes it. $\endgroup$
    – Szabolcs
    Commented Aug 23, 2016 at 11:10
  • $\begingroup$ Trying again with a fresh kernel first gives an under-exposed photo and the message $\endgroup$
    – user42530
    Commented Aug 24, 2016 at 1:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.