Unity uses SLR cameras to take photos and record videos

1. The function is as mentioned in the title. It can be roughly divided into two ideas. The first one is to directly download the SDK corresponding to the SLR brand. Advantages: convenient control and complete functions. Disadvantages: It is difficult to find resources. Some brands do not disclose their SDKs. Most of the ones found online have problems and you need to make adjustments yourself.

The second method relies on third-party tools, such as Kafei, which can support most brands of SLRs, but the functionality is not very comprehensive.

2. The better effect of these two methods is the native SDK, and the more convenient one to develop is Kafei.

3. Kafei’s shooting can directly send http requests to control the shooting. For real-time viewfinding, you need to write a TCP viewfinder interface. Kafei has a corresponding SDK. The data obtained is a single JPG image. You can learn about JPG file storage to facilitate your analysis of the data.

4. The native SDK has encapsulated interfaces, which can be called directly. If you have any questions, leave a message and send a case project.

Guess you like

Origin blog.csdn.net/u013748096/article/details/106715568