MCPcopy Index your code
hub / github.com/18Gray/ProCamera

github.com/18Gray/ProCamera @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
8,468 symbols 14,981 edges 517 files 564 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ProCamera

ProCamera��һ�����Camera2 API�������ʵ��������ij��ù��ܣ����󲻶��ھ�Camera2�ľ޴�DZ��������һ���ڹ��ܺ�����������������Ʒ�� camera2 modeselect

����

  1. ������ù��ܣ��Զ��Խ�/��⣬�ֶ��Խ�/��⣬ǰ������ͷ�л����л������ģʽ��ʹ��HDR������GPU�˾�������������ڣ���ʱ��Ӱ��¼����Ƶ��
  2. ͼ������أ�������½ǰ�ť�������ᣬѡȡ����ɽ���ͼ�������������ü����˾�����Ļ��ӡ�ǣ��Աȶȵȵĵ��ڡ�

�������߹��ܣ�

  1. 30fps�������ģ�ʵ�ֽ���Ͳ�����ֶ����룬0�ӳٿ������㣬raw��ʽ��ͼƬ���������awb/iso/ae��
  2. ����������㣬�ṩ�沿ʶ���ܣ�ʶ��ɹ����Զ��������ա�
  3. ���ý�����ع��ܣ��������þŹ���ͼƬ����ǩ����λ�á�ʱ�䡢��Ȩ���ֺš���ɫ����ˮƽУ׼��ͼƬ�������á�������Ƶ�������á�ʵʱֱ��ͼ�����ֶ���
  4. ͼ������������snapseed��£�������vsco��prisma��Щ��Ȥ��Ӧ�ý��иĽ���
  5. ���ͼ��������ռ���˴󲿷ֿռ䣬��������������ͼ��������Ϊ����ͼ������

��ʹ�÷���

  1. ��xml������Camera2TextureView����ؼ���
  2. ��Activity��Fragment�У�������һ��mFile��·�����Ա���ͼƬ��ַ��
  3. ����onResume������cameraTextureView.openCamera()�������
  4. ������հ�ť������cameraTextureView.takePicture()����������ա�
  5. ��onPause�е���cameraTextureView.closeCamera()�ر������

����ʹ�÷���

����ʹ�÷���ʵ�����������ʹ�÷��������������˵�������ơ�ǰ������ͷ�л�������HDR���˾��ȹ��ܡ� �����ձ���õ�һ��˼·�ǣ���onClick�е����ť�󣬻ᵯ��һ���Ի���Dialog��PopupWindow��Ȼ���ٵ��Dialog��PopupWindow�ϵ�ѡ���֮����Ϣ��ͨ��EventBus����Camera2Fragment�У���Camera2Fragment��ͨ��onXXX����������Ϣ����ִ��cameraTextureView.xxx����ִ����Ӧ��������� �����������Ϊ���� 1. ��onClick�е�����PopupWindow�� 2. ѡ��PopWindow���ĸ�ѡ�����һ��������iv_flash_auto������������Զ����⣬����ͨ��EventBus������Ϣ�� 3. ��Camera2Fragment�е�onFlashSelect���յ���Ϣ���Ƚ���һЩUI�ĸĶ���Ȼ��cameraTextureView.setFlashMode�����������ģʽ��

Gradle����

Proguard����

��������

ProCamera

ProCamera is a Camera based on Camera2 API, and it implements some common functions about camera. It will excavate the potential of Camera2 API continuously, to forge an impressive product on function and design. camera2 modeselect

Extension points exported contracts — how you extend this code

IViewModel (Interface)
Created by lutao on 2017/9/29. [8 implementers]
cardlibrary/src/main/java/com/eighteengray/cardlibrary/viewmodel/IViewModel.java
IBitmapFilter (Interface)
Created by lutao on 2017/5/8. [8 implementers]
imageprocesslibrary/src/main/java/com/eighteengray/imageprocesslibrary/bitmapfilter/IBitmapFilter.java
CvCameraViewFrame (Interface)
This class interface is abstract representation of single frame from camera for onCameraFrame callback Attention: Do not [4 …
openCVLibrary345/src/main/java/org/opencv/android/CameraBridgeViewBase.java
IVideoPlayerOperation (Interface)
(no doc) [4 implementers]
procameralibrary/src/main/java/com/eighteengray/procameralibrary/video/IVideoPlayerOperation.java
IImageLoader (Interface)
Created by Razer on 2017/12/6. [2 implementers]
app/src/main/java/com/eighteengray/procamera/model/imageloader/IImageLoader.java
RecyclerViewScroll (Interface)
(no doc) [2 implementers]
cardlibrary/src/main/java/com/eighteengray/cardlibrary/widget/RecyclerLayout.java
SkinFinder (Interface)
Created by zhigang on 2017/12/16. [2 implementers]
imageprocesslibrary/src/main/java/com/eighteengray/imageprocesslibrary/cvdemo/SkinFinder.java
CvCameraViewListener2 (Interface)
(no doc) [5 implementers]
openCVLibrary345/src/main/java/org/opencv/android/CameraBridgeViewBase.java

Core symbols most depended-on inside this repo

set
called by 136
imageprocesslibrary/src/main/cpp/include/opencv2/core/ocl.hpp
add
called by 122
openCVLibrary345/src/main/java/org/opencv/core/Core.java
vector_Mat_to_Mat
called by 120
openCVLibrary345/src/main/java/org/opencv/utils/Converters.java
get
called by 108
openCVLibrary345/src/main/java/org/opencv/core/Mat.java
getHeight
called by 95
openCVLibrary345/src/main/java/org/opencv/android/CameraBridgeViewBase.java
getWidth
called by 91
openCVLibrary345/src/main/java/org/opencv/android/CameraBridgeViewBase.java
size
called by 82
openCVLibrary345/src/main/java/org/opencv/core/Mat.java
put
called by 81
openCVLibrary345/src/main/java/org/opencv/core/Mat.java

Shape

Method 6,073
Class 1,197
Function 1,049
Enum 120
Interface 29

Languages

Java59%
C++41%

Modules by API surface

openCVLibrary345/src/main/java/org/opencv/imgproc/Imgproc.java427 symbols
openCVLibrary345/src/main/java/org/opencv/core/Core.java324 symbols
openCVLibrary345/src/main/java/org/opencv/calib3d/Calib3d.java216 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/cuda/detail/color_detail.hpp172 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/cuda/functional.hpp159 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/mat.inl.hpp118 symbols
openCVLibrary345/src/main/java/org/opencv/photo/Photo.java115 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/cuda/border_interpolate.hpp114 symbols
openCVLibrary345/src/main/java/org/opencv/core/Mat.java110 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/types_c.h109 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/hal/intrin_sse.hpp99 symbols
imageprocesslibrary/src/main/cpp/include/opencv2/core/hal/intrin_avx.hpp95 symbols

For agents

$ claude mcp add ProCamera \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact