This commit is contained in:
yumoqing 2022-06-30 17:01:21 +08:00
parent bd4e7d7baf
commit bfe829e75d

19
kivycv/register.py Normal file
View File

@ -0,0 +1,19 @@
from kivy.factory import Factory
from audio import Audio
from audiorecorder import AudioRecorder
from camerawithmic import CameraWithMic
from custom_camera import CustomCamera, QrReader
from kivycamera import KivyCamera
from micphone import Micphone
from qrcodereader import QRCodeReader
from version import __version__
r = Factory.register
r('Audio', Audio)
r('AudioRecorder', AudioRecorder)
r('CameraWithMic', CameraWithMic)
r('CustomCamera', CustomCamera)
r('QrReader', QrReader)
r('KivyCamera', KivyCamera)
r('Micphone', Micphone)
r('QRCodeReader', QRCodeReader)