Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Quick fix Before initialize the CVVideoCamera add these lines

NSNumber *value = [NSNumber numberWithInt:UIInterfaceOrientationPortrait]; [[UIDevice currentDevice] setValue:value forKey:@"orientation"];

self.videoCamera = [[CvVideoCamera alloc] initWithParentView:self.previewImage]; self.videoCamera.delegate = self;