简体   繁体   中英

Is there a way to use Python to access IPhone camera resolution?

我知道您可以使用objective-c 来访问它,但是想知道是否有任何Python 模块可以让我们做同样的事情?

If you're using app on your , there is photos library.
※ You can browse other libraries here .

Photos library can provide you such API as

  1. capture_image(camera='rear')
  2. get_metadata(image_index=-1)
    ※ Unfortunately, there is no info about resolution. At least I didn't find.
  3. and so on

But it doesn't provide you direct access to camera resolution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM