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
1 answer

Discussion about Transfer Learning with Keras

I'm currently working with transfer learning on a sensor based activity dataset and I tried out two methods to transfer a model that was trained on another dataset before. The first way of transfering was to load the trained model, cut off the last…
0
votes
1 answer

Transfer learning for video classification

How can I use pre-trained models to train video classification model? My dataset shape is (4000,10,150,150,1), I try to classify human action recognition with Conv2D TimeDistributed. I can train without transfer learning but I get a poor…
0
votes
1 answer

key error KeyError: ('accelerometerx', 'lx','mx','gx') i want to add the data of 4 hardware but when i try the error

please help i want the accelerometer data with gyro(gx) magnetometer(mx) but when ever i add this the KeyError: ('accelerometerx', 'lx', 'mx','gx') but when ever i enter just accelerometerx the code run well …
mubashar
  • 3
  • 1
0
votes
0 answers

Classify activity person go into and go out the car (behavior detection)

I'm working on the problem classify activity get out the car and get in. Also need to classify if upload and download activity going near the car Need advice how to fix problem of overfitting model in testing dataset Using CNN + LSTM architecture.…
0
votes
1 answer

Action Recognition for multiple objects and localization

I want to ask question regarding the action detection on the video with proposed frames. I've used Temporal 3D ConvNet for the action recognition on video. Successfully trained it and can recognize action on videos. When I do inference, I just…
0
votes
1 answer

How to recognize current activity of user from a service?

I have tried to make a service to recognize the user's current activity. But this code crashes everytime. It throws exception: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.location.DetectedActivity…
user10445346
0
votes
1 answer

Android User Activity Recognition in Background Task

My goal is to listen to the user activites and on change do something in the background like log the event in a database. When the app is in the foreground the events are fired correctly. When the app is closed (but my service is running) then no…
Anthea
  • 3,741
  • 5
  • 40
  • 64
0
votes
0 answers

Activity Recognition Api Diagram

I have done my thesis and now I have to make a presentation. The professor asked me for diagramms at every api that I used. So the only api that I don't have the diagramm is the Activity recognition api Could anyone please help me, because I don't…
0
votes
0 answers

Why my result does not show

My code does not show the result from activity recognization service. How can I solve my problem? This is my code ActivityRecognizeService.java package com.kobe.internship.realtimeactivity; import android.app.IntentService; import…
cucumber
  • 1
  • 1
0
votes
1 answer

Activity Recognition Client battery comsumption

I wish to use for my app ActivityRecognitionClient, and I wish it will run always in the background. But how much battery actually it consume and what is the best interval for battery optimization? In the reference it only says "Larger values will…
Dim
  • 4,527
  • 15
  • 80
  • 139
0
votes
1 answer

BroadcastReceiver in MainActivity does not receive Broadcast Intents

I'm quite new in Android programming so I may be making very dumb mistakes. I'm writing a simple app to collect activity data. I have a MainActivity and an ActivityRecognizedService to query Google's Activity Recognition APIs. I'm trying to receive…
hopscotch
  • 178
  • 5
  • 16
0
votes
0 answers

IntentService stops receiving intents

I'm using Google's activity recognition API, and I've created an IntentService to handle the activity updates. I'm supposed to receive updates every 5 seconds, and so I was when I first installed and booted the app on my phone. Then I made some…
0
votes
1 answer

Android - Activity Recognition lack of accuracy

I'm testing the Android ActivityRecognition API and I used this tutorial. In order to get more accuracy I'm checking the confidence, the common limit I saw is that the confidence must be >= 75. My application is running on the background and the…
Elior
  • 3,178
  • 6
  • 37
  • 67
0
votes
0 answers

ActivityRecognitionAPI throws IllegalStateException on some devices

I've been testing the ActivityRecognitionAPI on two Android phones. Generally it works, but on some phones I'm getting an IllegalStateException. Is this a problem with the phones themselves? Phones tested: Moto Z - OK Samsung Galaxy J Ace - Not…
jpvillegas
  • 93
  • 1
  • 9
0
votes
1 answer

looking for activity Recognition algorithm or resource

i am implementing a surveillance system and i was looking for algorithm or any resource that could help me with activity Recognition. activity like punch, kick and etc. so when someone kick or punch in a record video the system could recognize that…
MMM
  • 89
  • 2
  • 8