Preview 10.1 on macOS Mojave does not capture signature with camera

I recently bought a MacBook Air and I can not capture a signature on a white sheet of paper with camera, since it was possible in previous machines and versions of Mac OS.
Does anyone have a clue on how to solve this?