Esri / QuickCapture

QuickCapture for ArcGIS app
Apache License 2.0
8 stars 2 forks source link

Take a picture #11

Closed spatialdude closed 5 years ago

spatialdude commented 6 years ago

Option to take a picture with a connected camera (ie 360 degree camera) every time point data is collected.

gistom commented 6 years ago

I did some pothole collection and I wanted this too.

JohnHasthorpe commented 6 years ago

Raised by oil and gas user

The target user for our new workflow is the “Pilot” (3rd party service provider) – who does not have much time (only secs) to capture a geotagged photo of interest along the ROW. In terms of data workflow our preference is to have that photo uploaded/streamed into AGO (thinking realtime) where extra attributes could be added (perhaps sometime after the capture). The pilot has a number of other flights to do during the daylight hours for other companies – so tends to do office work at night. He does not have time while flying to fill out digital forms (unless they are a single magic button!). To remedy this scenario – we are throwing around a few ideas in the GIS team here in Melbourne, and would like to get ESRIs input too. Geotagged photos that directly feed to some type of AGO feature service is probably utopia? Emphasis is ‘simple’ and ‘quick’ from the end-user (pilots) perspective. To capture a photo in Collector (as a photo or attachment) involves a number of steps - so there is opportunity for improvement. If we expand on this use case – which we have discussed internally – other ESRI products such as FMV or Drone2Map may be candidates for collation/review (depending on the format type – video vs photo). Right now though, my interest is in the ‘aerial observation’ workflow and how to optimize that given the Pilot’s lack of available time to capture the data.

spatialdude commented 6 years ago

An initial implementation of this feature is now available but is still a work in progress looking for some feedback -

image

spatialdude commented 6 years ago

Initial implementation of this feature is complete. Improvements to UI and other requirements to be raised as further enhancement issues as feedback is provided.

JohnHasthorpe commented 6 years ago

@spatialdude This is working on iOS but not on Windows or Android. Clicking the button does not do anything and in AppStudio I see the following error:

qml: addFeatureClicked: 0 [object Object]
qml: Image capture not ready

Tested on the SurfaceBook Pro and Google Pixel 2 and Sony Experia.

JohnHasthorpe commented 6 years ago

@spatialdude - The camera preview window does not display on Android or Windows

spatialdude commented 6 years ago

Enabled camera capability for app.

JohnHasthorpe commented 6 years ago

1.0.47 verified as working on Android (Sony Experia Android 7.1.1) Windows is confusing:

Windows: 1607 For older windows builds with projects including the camera:

Windows: 1703 and later For later Windows builds with projects including the camera:

Will mark the issue as impeded by: https://github.com/ArcGIS/QuickCapture/issues/11#issuecomment-380661832

shobanasuresh commented 6 years ago

We've already reported to Qt Company about the white screen camera preview and second picture causing a crash UWP bugs as it also affects Survey123

Below are the open Qt bug reports for these bugs.

https://bugreports.qt.io/browse/QTBUG-67417 https://bugreports.qt.io/browse/QTBUG-63016

cc: @JohnHasthorpe @spatialdude

shobanasuresh commented 6 years ago

Windows: 1703 and later. UWP - the project does not fully load

The grey screen issue on UWP in below screenshot is different to the white screen camera image preview bug.

image

Console logs from UWP app when opening the Vineyard Inspections project:

Plugin: AppStudio Type: geoservices Version: 3.0.51
qrc:/qml/Pages/FeatureButtonsPanel.qml:65: TypeError: Cannot call method 'forEach' of undefined
qml: Project options: {
  "columns": 2,
  "showMap": true
}

@JohnHasthorpe @spatialdude

spatialdude commented 6 years ago

It appears the issue on UWP could be a 32 vs 64 bit issue.

This can be tested after https://devtopia.esri.com/Melbourne/appstudio-build/issues/122 is ready product a 64 bit UWP version.

JohnHasthorpe commented 6 years ago

It is now possible to take pictures on Windows platforms. Build 1.0.50 verified on: Surface Book - Windows 10 and UWP

Note that this was verified on Windows builds of 1607 and 1703.

Closing issue

spatialdude commented 6 years ago

It looks some of the Windows issues have resurfaced with the 1803 Windows 10 update. When testing on a Intel Stick (32 bit Windows Home) with an external USB camera, the camera preview works but the app crashes when opening the same project the second time.

spatialdude commented 6 years ago

The preview in the footer will automatically be shown if any button is configured to capture images.