Carnets icon indicating copy to clipboard operation
Carnets copied to clipboard

Media access

Open ifuchs opened this issue 4 years ago • 2 comments

Is Carnets able to access the microphone to record audio (and play it back) and the camera for photos and video? If so, are there examples?

ifuchs avatar Jan 06 '20 02:01 ifuchs

Accessing the camera and microphone in real-time is a little difficult. However, accessing the images and videos that have been recorded by the camera is easy. For example:

  • change cell to Markdown
  • menu Edit -> insert Image
  • click "Choose File"
  • then use either "Take Photo" or "Photo Library" (or "Browse")
  • you will have to grant Carnets the authorization to access the camera or the Photo library the first time.

This will embed the image in the notebook. If you want to process the images or sound files in the notebook, you would have to place them in a directory where Carnets has reading access, next to the notebook itself.

holzschu avatar Jan 06 '20 08:01 holzschu

Has accessing media become any easier in the meantime? It'd be fantastic to be able to take photos in the app, and even access the GPS to get current locations.

Note that the open source Pyto app has all this functionality https://github.com/ColdGrub1384/Pyto

Michael-P-Crisp avatar May 22 '21 02:05 Michael-P-Crisp