PoseEstimation-CoreML
PoseEstimation-CoreML copied to clipboard
Fever problem
My iphone's back is very hot when i run this demo after 10 seconds, Could you tell me how to solve this problem? (sorry, my english is not very well, Please forgive my my words)
My iphone's back is very hot when i run this demo after 10 seconds, Could you tell me how to solve this problem? (sorry, my english is not very well, Please forgive my my words)
@ColdStar007 iPhone overheating problem is an apple's known issue. Could you tell me your iPhone model? Is it iPhone X? I haven't solved the problem, but maybe you can do with more intervals between inferences.
iPhone11,CPU usage up to 99%,Maybe the scanning frequency is too high? But I didn't find where to control this,
iPhone11,CPU usage up to 99%,Maybe the scanning frequency is too high? But I didn't find where to control this,
@ColdStar007 Actually I didn't implement the logic.
The following line is the point of starting prediction. You can call the method with delay time(like DispatchQueue("some.queue").ayncAfter
method).
https://github.com/tucan9389/PoseEstimation-CoreML/blob/cd12795b5dad1398f87c430d71ce7136f5bac6a7/PoseEstimation-CoreML/Joint%20View%20Controller/JointViewController.swift#L135
I hope it helps you :)
iPhone11,CPU usage up to 99%,Maybe the scanning frequency is too high? But I didn't find where to control this,
@ColdStar007 Actually I didn't implement the logic.
The following line is the point of starting prediction. You can call the method with delay time(like
DispatchQueue("some.queue").ayncAfter
method).https://github.com/tucan9389/PoseEstimation-CoreML/blob/cd12795b5dad1398f87c430d71ce7136f5bac6a7/PoseEstimation-CoreML/Joint%20View%20Controller/JointViewController.swift#L135
I hope it helps you :)
oh。。。。。 it works! thank you! and i have another question, how can i get a frame picture in the camera? i use this method now "snapshotView", but i'm worry about the picture's resolution is not enough, do you have any good idea?
I googled with "snapshotView resolution" keyword. Did you see that? 🤔
https://stackoverflow.com/questions/4334233/how-to-capture-uiview-to-uiimage-without-loss-of-quality-on-retina-display