Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Aug 9, 2023
1 parent 582c1e1 commit e799bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ getCameraScan().setCameraConfig(cameraConfig);

方式二:通过对象创建CameraConfig
```java
// 此处的CameraConfig可以是CameraConfig的任意子类
// 此处的CameraConfig可以是CameraConfig的任意子类(其它CameraConfig相关配置修改方式与设置前置摄像头类似)
CameraConfig cameraConfig = new CameraConfig() {
@NonNull
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public int getRotation() {
return rotation;
}

private FrameMetadata(int width, int height, int rotation) {
public FrameMetadata(int width, int height, int rotation) {
this.width = width;
this.height = height;
this.rotation = rotation;
Expand Down

0 comments on commit e799bcf

Please sign in to comment.