Help. I need to do application with camera background

The application needs to have the camera background to implement real-time masks help me. thanks

Do you have any code of what you have so far?
It would help if you were to try it first so that you can learn the parts you need.

1 Like

this is the code

js:

ejemApp.controller("ejemController", function($scope, $cordovaCamera) {
 
    $scope.takePicture = function() {
        var options = { 
            quality : 75, 
            destinationType : Camera.DestinationType.DATA_URL, 
            sourceType : Camera.PictureSourceType.CAMERA, 
            allowEdit : true,
            encodingType: Camera.EncodingType.JPEG,
            targetWidth: 300,
            targetHeight: 300,
            popoverOptions: CameraPopoverOptions,
            saveToPhotoAlbum: false
        };
 
        $cordovaCamera.getPicture(options).then(function(imageData) {
            $scope.imgURI = "data:image/jpeg;base64," + imageData;
        }, function(err) {
            // An error occured. Show a message to the user
        });
    }
 
});

but what I need: the camera will automatically run and background left to start the application (as instawather) (I do not know what method can be implemented without creating a picture taking button) and masks can be applied in real time.

Thank you

Hi Ipac, I want to do the same thing …have you found something to do this?