I am evaluating Unity3d 2017.4.2f2 with Vuforia and Xcode 9.3 for an AR App and have the problem, that the camera background works in the simulator but not on the iPad pro with iOS 11.3,1.
It seems to be a known problem and I checked nearly every solution including using XCode9.2 and copying the device config, deleting Metal from the Vuforia Settings, creating new AR Cameras, even the latest Unity3D beta and whatnot. The background does not show up and I get the following error:
2018-05-03 14:53:33.396112+0200 ProductName[2340:1694266] ERROR/AR(2340) 2018-05-04 14:53:33: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.
and
cameraDeviceStartCamera
2018-05-03 14:53:33.460389+0200 ProductName[2340:1694266] ERROR/AR(2340) 2018-05-04 14:53:33: VideoBackgroundConfig with screen size of zero received, skipping config step
If there is anything else I can do or that points me into the right direction is appreciated. many thanks in advance
Just to be sure check if you did all of this:
In player settings enable Vuforia's support
Go to player settings >> Other Settings and check Camera Usage Description field
Then you can try one of the following suggestions:
change the Target resolution to native (default device resolution)
set the graphics to be OpenGLES2.0 instead of automatic
If this doesn't work you can also try to delete the meta data of the camera controller script.
Removing Unity3D completely and reinstalling the latest Unity3D version and the VuforiaSupportInstaller-Mac-7-1-35 solved it. Both accessible via the Vuforia Download page
Related
I'm trying to see why our DJI-enabled app isn't working correctly with the Mavic Air 2 on iOS or Android. Here I'm debugging with iOS but I've seen the same failures when briefly testing on our Android app.
When calling setMode:completion: on the single camera belonging to the Mavic Air 2, I consistently get "Current product does not support this feature.(code:-1013)"
isMediaDownloadModeSupported returns true for the camera, and yet I can't set the camera mode to media download mode at all (or any other mode).
I've found that setFlatMode:completion: seems to work ok to set photo and video modes as a sort of alternative, however this is only for photo/video modes, and won't help me with downloading media from the SD card. (right?)
Any help out there?
From my DJI Developer Support ticket for the same issue:
For the Mavic Air 2 drone, should use the setFlatMode to switch the photo, video mode, and use the enterPlayback, exitPlayback to enter/ exit the download mode.
I was working on an OpenCV project. There I used OpenCV to get video captures and then used some algorithms to face detection and face-swapping. After working on this project for about two weeks, I got errors in my camera (windows camera application). attached one error but sometimes I got different errors as well. I want to know, Did I get those errors due to this OpenCV project?.
If your application still runs, you cannot achieve from windows application at the same time. If not, basic reset always saves lives!
Click Windows key + I to open Settings app.
Select System>Apps & features and find Camera on the list.
Click Advanced options link.
Then press Reset button and wait for the process to be executed.
Secondly, check if the camera works properly from device manager.
Lastly, try to open from another app(like Skype, discord). Otherwise, update or roll-back driver of the camera.
After a new tango core update (version 1.48:2016.....:unstable) that my Lenovo Phab2Pro auto updated today, the Tango3DR_textureMeshFromDataset function is not working anymore, with an error code of -3 (It worked fine with the last tango core version)
In the logcat output I get the following message:
mesh_painter_adapter.cc:85 Source camera not available; source_camera_=16 available_cameras_mask=4096
Anyone know how to fix this? Do I need to change some permissions or something?
So the solution was to change the config_dataset_recording_mode.
Previously, setting the mode to TANGO_RECORDING_MODE_SCENE_RECONSTRUCTION
was sufficient to do reconstruction with textured meshes. With the caporales update, it seems that it is required to set the mode to TANGO_RECORDING_MODE_ALL for getting the textured 3d reconstruction to work.
I have an existing OSX app (Xcode 7, swift) that collects real time data (both textual and photos) from various local and internet (Json) sources to present in a user window.
I want to present the same data stream as an output stream that will appear as if it were just an OSX add-on camera (so that it can be selected as a camera source in other OSX programs).
Having trouble finding any framework documentation or examples for an app to act as a camera. Any help greatly appreciated.
Have you seen this project? https://github.com/rsodre/ofxFakam It seems the way to add a video recording source to OSX is to create and install a quicktime component. Unfortunately I don't know much more than that. On the plus side, it all happens in user space!
As the title says, my genymotion is getting the static position declared in the gps options. Theres another option that I could get my current position? Im using cordova application testing with genymotion.
Genymotion does not plug the GPS position to your computer's position.
If you want to customize your position you can do it on several ways:
Use the GPS Widget (free feature) located on the right bar of the device. You can either set manually GPS data or use the Map view to do it easily
Use the Genyshell (free feature) to script the positions injection.
Use the Java API (paid feature). By including the JAR of this feature you can control the GPS and other device sensors. This feature is very useful to improve code coverage, for unit testing for example.
I was using cordova geolocation plugin.
navigator.geolocation.getCurrentPosition(onSuccess,onError,options);
And I was also facing the same problem, It wasn't working in genymotion. Setting enableHighAccuracy to true worked for me like below.
var options = {
enableHighAccuracy: true,
maximumAge: 0
};
For programming, you could give fake position by using any app. For instance you might use Fake GPS location to give static GPS position.