Comments (14)
Correction :
On MMCameraPickerController.m -> capturePhoto() -> handler of captureStillImageAsynchronouslyFromConnection add :
if(!CMSampleBufferIsValid(imageSampleBuffer)){
isCapturingImage = NO;
[self capturePhoto];
return;
}
EDIT 8NOV2017
if(!CMSampleBufferIsValid(imageSampleBuffer))
{
isCapturingImage = NO;
[self capturePhoto];
return;
}
[_mySesh stopRunning];
And remove [_mySesh stopRunning];
on the -(IBAction)capturePhoto:(id)sender
method
from mmcamscanner.
Same error since iOS 10...
captureStillImageAsynchronouslyFromConnection:videoConnection
works randomly for me
from mmcamscanner.
from mmcamscanner.
@MapleNoise this is not fixing my issue still my camera works randomly!
if u have another suggestion regarding this issue please let me know...Thanx
from mmcamscanner.
@mukyasa tell me something to fix it please it's urgent
from mmcamscanner.
@AzimJavaidKhan It's Camera library issue you can change it with diff camera library and problem solved, It will take time from my end to update the camera library code. You dont have to touch OpenCV code
from mmcamscanner.
ok thanx!
1 more favour please can u tell me diff libraries for camera?
from mmcamscanner.
where to add this line?
from mmcamscanner.
@AzimJavaidKhan if you add :
if(!CMSampleBufferIsValid(imageSampleBuffer))
{
isCapturingImage = NO;
[self capturePhoto];
return;
}
[_mySesh stopRunning];
And remove [_mySesh stopRunning];
on the - (IBAction)capturePhoto:(id)sender
method ?
from mmcamscanner.
now the retake button also captures, the black screen and sends black screen for cropping!
from mmcamscanner.
Oh... Sorry That's the only thing I changed to worked for me...
from mmcamscanner.
[self.capturePhoto]....is it important to write this?
from mmcamscanner.
@MapleNoise but after your answer i m now able to take 7/10 pictures thanks. But still missing 3 times don't know why? i haven't changed anything except what u suggested!
from mmcamscanner.
@mukyasa if u have excess time can you please fix it. It's very important for me and i have short time period for this task!
please
from mmcamscanner.
Related Issues (20)
- When is the working "Pod" version is expected? HOT 3
- Getting crash when failed to identify edges. HOT 2
- TesseractOCR Undefined symbols for architecture arm64: HOT 2
- Xcode 9 error HOT 1
- Cropping with 8 points
- Swift Compile Error
- Data Encryption HOT 2
- swift 3 or 4 version? HOT 1
- hello, I have a trouble HOT 3
- Any plan to upgrade to new Xcode 10 ? Or maybe migrate to Swift 4 ? HOT 1
- picture not recognize help
- Library Not found
- Is this project include color magic filter ?? I could not find it anywhere
- How to implement into a Swift Project HOT 1
- 'opencv2/imgproc/imgproc.hpp' file not found HOT 4
- Can not recognize some image HOT 1
- How to download and install HOT 1
- Memory issue HOT 2
- Convert in swift 3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmcamscanner.