Posts

Post marked as solved
1 Replies
467 Views
Hi everyone! I'm implementing a multithreaded approach on text recognition through Vision's VNSequenceRequestHandler and VNRecognizeTextRequest. I've created multiple threads (let's use 3 for example) and created 3 instances of VNSequenceRequestHandler for each thread. My AVSession sends me sample buffers (60 per second) and I'm trying to handle them one by one in 3 different threads. These threads constantly trying to consume sample buffers from my temporary sample buffer queue (1 to 3 sample buffers are in queue, they got deleted after handling). Sample buffers are not shared between these threads - one sample buffer is only for one thread's VNSequenceRequestHandler. For each performRequests operation I create a new VNRecognizeTextRequest. By this I was trying to increase count of sample buffers handled per second. But what I found out is no matter how many threads I've created (1 or 3), the speed is always about 10 fps (iPhone 13 Pro). When I use 1 thread, only one instance of VNSequenceRequestHandler is created and used. In this case the [requestHandler performRequests:@[request] onCMSampleBuffer:sampleBuffer error:&error] takes about 100-150ms. When I use 3 threads, each instance of VNSequenceRequestHandler takes up to 600ms to handle the request with [requestHandler performRequests:@[request] onCMSampleBuffer:sampleBuffer error:&error]. When I have 2 threads, the average time is about 300-400ms. Does it mean that the VNSequenceRequestHandler inside of a Vision framework share some buffer's or request's queue so they're not able to work separately? Or maybe some single core of a GPU is used for detection? I saw in the debug session window that the VNSequenceRequestHandler creates separate concurrent dispatch queues for handling the requests (for 2 instances 2 queues created), which in my opinion should not block the resources that much causing requests execution time grow 2 times. Any ideas what causing the problem?
Posted Last updated
.
Post marked as solved
5 Replies
4.6k Views
Hello! We noticed some changes in app development policies about account deletion. Its placed here: https://developer.apple.com/news/?id=mdkbobfo So, it says that we can INITIATE account deletion. But what confuses us is the title. It says "require". And keeping in mind that with ATT policy on Apple's guideline where it says that the ATT is needed for IDFA collection and personal data collection, we got rejected for collecting only basic users data (only events without binding em to constant user ids), we want to make it clear - can we JUST INITIATE the account deletion? Just send user to our Support Team where the user could just place the request for account deletion and remove it with our STeam. According to this publication: https://www.engadget.com/apple-app-store-ios-developers-delete-account-report-193119525.html, we can JUST INITIATE. But with ATT case we got wrong representation of the requirement. Also we want to know what is appropriate time for completing the deletion request: one week, two or a month? Thank you in advance for your answers, Apple Engineer! :) P.S. About ATT rejection: we had a call with Apple's engineer who explained us main points why they did it, so we had to turn the analytics fully off. The points were really good and user loyal.
Posted Last updated
.
Post not yet marked as solved
0 Replies
365 Views
Can I add App Clip to the App if its minimum supported version lower than iOS 14? Lets suppose I have an App that has minimum support version as iOS 13. If I make App Clip target that supports iOS 14, will I be able to upload it to the AppStore? And will it work in scenarios like if some user has iOS 14 and has the Main App installed and he tries to open the App Clip from the banner from some website?
Posted Last updated
.
Post marked as solved
2 Replies
663 Views
Is there any restriction of size of the application group folder that I can use while interacting with App Clip? For example, I would want to make photos or download bunch of images through the App Clip and later I want to access all of them in the Main App. Will they be kept there when I install the App (assume I'll use App Clip frequently so it won't get deleted by the system after the month of not doing anything)?
Posted Last updated
.
Post not yet marked as solved
0 Replies
351 Views
Hello!When I try to use my shortcut in chain with voice dialog, Siri doesn't continue interaction with other shortcuts using my output INFile.For example, when I say "Comand", she asks me which document to retrieve from my app, the shortcut executes succesfuly, but the next shortcut that should've been getting my INFile (Open in, Send E-mail, etc) isn't executing at all and the Shortcuts app getting opened with "Success" icon applied to my "Comand" chain.What can be wrong with the output or it is just an imposibility of Siri to bind those shortcuts through the voice dialog?
Posted Last updated
.
Post not yet marked as solved
0 Replies
422 Views
Hello!When I try to use my shortcut in chain with voice dialog, Siri doesn't continue interaction with other shortcuts using my output INFile.For example, when I say "Comand", she asks me what document to retrieve from my app, the shortcut executes succesfuly, but the next shortcut that should've been getting my INFile (Open in, Send E-mail, etc) isn't executing at all and the Shortcuts app getting opened with "Success" icon applied for my "Comand" chain.What might be wrong with the output or it is just imposibility of Siri to bind those shortcuts through voice dialog?
Posted Last updated
.
Post not yet marked as solved
0 Replies
432 Views
Email shortcut “Send Email” accepts the INFile from 3rd party shortcut but removes path extension so the file name becomes just <name> (not <name>.<extension>).For example, Share shortcut can accept File, it has “File” option and when it’s selected, the actual file with <name>.<extension> format is getting shared.Email shortcut doesn’t have such option, it has “Name” only but it needed only for grabbing the name of the file, not the content. If we use result from the previous shortcut without setting any option manualy, the Email shortcut somehow gets the file, removes the path extension and attaches it to the email content.This is the Share ShortcutThis is the Send Email Shortcut
Posted Last updated
.