gpt4 book ai didi

iphone - 将相机模式设为黑白

转载 作者:行者123 更新时间:2023-11-29 04:41:47 24 4
gpt4 key购买 nike

如何将相机变成黑白模式。这样我就可以拍摄黑白视频。

注意:不使用 OpenGL。

提前致谢。

最佳答案

也许GPUImage可以帮助:

The GPUImage framework is a BSD-licensed iOS library that lets you apply GPU-accelerated filters and other effects to images, live camera video, and movies. In comparison to Core Image (part of iOS 5.0), GPUImage allows you to write your own custom filters, supports deployment to iOS 4.0, and has a simpler interface. However, it currently lacks some of the more advanced features of Core Image, such as facial detection.

GPUImageGrayscaleFilter: Converts an image to grayscale (a slightly faster implementation of the saturation filter, without the ability to vary the color contribution)

关于iphone - 将相机模式设为黑白,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10276238/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com