anonym24

Results 71 comments of anonym24

I tried to disable Audio Media Codec mMuxer = new MediaMuxerWrapper(mOutputFile.getAbsolutePath(), mConfig.viewHandler); mVideoEncoder = new MediaVideoEncoder(mMuxer, mConfig); //new MediaAudioEncoder(mMuxer, mConfig); mMuxer.prepare(); **mMuxer.startRecording();** But now I get error with Video Media...

I'll try later to set correct resolution for this device p.s. I also tried on Kingzone device with KitKat 4.4, it worked ok, because that device supports FullHD, HD so...

@Legoless seems the same here https://github.com/Legoless/LegoCV/issues/5#issuecomment-344896128

you missing add **opencv2.framework** file if you cloned this git which doesn't include opencv2.framework (you better install LegoCV using CocoaPods) ![screenshot at jan 31 15-54-39](https://user-images.githubusercontent.com/8851301/35626681-20eebfce-069f-11e8-94ab-98705dd8006e.png) but library won't work anyway...:(

just remove data reference from the project and download this cascade file (and add to your project) https://raw.githubusercontent.com/opencv/opencv/master/data/haarcascades/haarcascade_frontalface_alt2.xml also fix path to the file in https://github.com/Legoless/LegoCV/blob/master/LegoCV/FaceDetection/Recognition/FaceDetector.swift#L77 for example if you...

just write natively using c++ and objective-c++ (.mm) class this project is dead

even simple UIImage to OCVMat won't work! ``` let image = UIImage(named: "myImage") let mat = OCVMat(image: image!) ``` > opencv(1984,0x1b355cb80) malloc: *** error for object 0x16ed112d8: pointer being freed...

I commented ``` - (void)dealloc { if (source) { free(source); } source = NULL; } ``` but another issue with https://github.com/Legoless/LegoCV/blob/10dfdd46ff016f0f3bdc3bf99a2c60ed6bcd66ba/LegoCV/LegoCV/Wrapper/Core/Mat/OCVMatDataAllocator.mm#L21 ``` - (cv::Mat *)source { return source; } ```...

what do you mean without header? it's not possible without .h file to call objc functions from swift you need .h and .mm files..