Questions tagged [activity-recognition]

Activity recognition tries to detect the user's current physical activity, such as walking, driving, or standing still.

Location Services sends out activity information containing one or more possible activities and the confidence level for each one.

Mark a question with this tag if the problem you have involves the use of Location Services and its receiving its PendingIntent or the implementation of FragmentActivity

From the Android.com site

208 questions
0
votes
0 answers

ResNet50-LSTM activity classification fail to connect AvgPool layer with LSTM

I am trying to do a Resnet50-LSTM model (Resnet50 as Feature Extractor, feed into LSTM and then softmax classification) that classify on 3 categories of human activity. I extracted 16 frames for each sample, total of 60 samples processed with batch…
0
votes
1 answer

Transfer learning on YOLOv5 using kinetic dataset

I understand that YOLO is designed for object detection. What I was trying to do is perform a transfer learning using the Kinetic700 dataset over YOLOv5 for human activity recognition. Then I realize that the dataset doesn't have annotation for…
0
votes
0 answers

How can I read skeleton pose data file and visualize it using MATLAB?

I have the human pose data file as shown in the following format and difficulties in how to visualize the skeleton data. I am currently using MATLAB and learning different ways to visualize it, but it doesn't work until now. How to visualize…
Easter012
  • 29
  • 4
0
votes
0 answers

I register to Play Services Activity Recognition API successfully but don't get any transitionEvents updates. Compose Android Kotlin

I'm new to android development. Now, I'm trying to develop an app for detecting user activities. In this case, I used Google Play Services Activity Recognition API, and also, I followed the instructions (e.g., the google sample code for the…
0
votes
0 answers

Use of Google Activity Recognition API

Have been trying to use Google Activity Recognition API, but until now, can't get a single result. I have this function in Main Activity private void requestTransactionsUpdates() { if (ActivityCompat.checkSelfPermission(this,…
0
votes
0 answers

Android - GeoFencing vs ActivityRecognitionAPI

So I'm working on a Ride Hailing app and my current feature requirement is: Alert the driver to press "Start" when he picks up the customer and goes en-route. Some of the drivers forget to start the trip and their wage calculation is inaccurate…
0
votes
0 answers

How can I solve VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences

I'm trying to classify actions using k-nearest-neighbor classifier. However, I keep getting this error. Note: Each cell of X_train is supposed to contain all x,y values extracted from each video and y_train is the label for the…
0
votes
0 answers

Broadcast set for ActivityRecognition is triggering without any activity

I have implemented feature for Android Watch app to detect the start & end of user Running Activity using Google ActivityRecognition API . The App able to detect the start and stop of running activity but randomly broadcast set of…
tilak
  • 4,589
  • 6
  • 34
  • 45
0
votes
1 answer

Cannot get ActivityRecognitionResult

I'm registering Broadcast receiver to receive activity events from Android's ActivityRecognition api. Registering Broadcast receiver in Manifest:
0
votes
0 answers

cannot resove symbol TransitionsReceiver

Trying to test next Google sample https://developer.android.com/codelabs/activity-recognition-transition#4 I was stuck on 5 step. private TransitionsReceiver mTransitionsReceiver; return me next error message "cannot resolve symbol…
Nick
  • 49
  • 4
0
votes
1 answer

Successfully registered a BroadcastReceiver to requestActivityTransitionUpdates, but onReceive never called

I am currently working on an app that needs to know whether or not the user is currently still or not. I have followed the codelab tutorial from Android (as well as other tutorials):…
0
votes
1 answer

Permission is null error for ACTIVITY_RECOGNITION permission 'n React Native

I try to ger permission from React Native app via PermissionsAndroid. It's my request: await PermissionsAndroid.requestMultiple([PermissionsAndroid.PERMISSIONS.ACTIVITY_RECOGNITION, some other permissions which work well]) When I try to run this I…
0
votes
0 answers

Is it possible to detect user's activity/motion on a web app?

I am making a fitness-related web app and want the ability to detect various activities like cycling, running, walking, etc via a browser on a mobile device. I understand there are CMMotionActivity and Activity Recognition APIs for iOS and Android…
0
votes
1 answer

Downsample the Time Series data of Accelerometer and Gyroscope

I have time series data for Physical Activities. The data was recorded at 50hz frequency. But now I want to down sample the data at 20hz because I want to train and predict model at 20hz. Is there an efficient way in python to do that ? I've heard…
0
votes
1 answer

Observing varying model performance in different machines while training an activity recognition model

I am finding that my model has different performance (train and validation accuracy) on two separate machines (Laptop and PC). The code and data used are the same. So: Train and Validate on Laptop (val accuracy ~91%) Moved the same jupyter notebook…