Open ColdStar007 opened 4 years ago
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).
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).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? 🤔
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)