Systems engineer building Android, Windows, Linux & web apps.
Reverse engineering + Python automation.
Low-level expertise (C, C++).
Open to opportunities - DM
@OlatunjiAyokan2 Rent a Mac book online if you've got it all set up.
That should be the least of the problem.
DM for engineering and coding projects tasking/management.
@stereolfts@kane_120 Use Google and AI, pick what works for you.
If you have a coding project or engineering project.
Pass along I'll get the money from it.
13. GPU Device Selection.
→If your computer has more than one graphics chip, it automatically figures out which one is faster and less busy, and uses that one for the AI sharpening.
Follow-up on the AI upscaling: the GPU backend now actually picks the right GPU, not just "a" GPU.
It enumerates every OpenCL GPU device and classifies each as discrete or integrated mainly via hostUnifiedMemory() (discrete GPUs have their own VRAM, integrated ones share system RAM), cross-checked against known integrated-GPU naming since some drivers misreport that flag for APU-style parts.
Priority is discrete > integrated > CPU. But before committing to a device, it checks whether it's actually free samples \GPU Engine(*)\Utilization Percentage via Windows' PDH API and skips a tier entirely if it's over 80% loaded, falling through to the next one. Two samples ~1s apart, since PDH rate counters need that to mean anything.
Worth separating two things that are easy to conflate here: OpenCL answers WHICH GPUs exist. PDH, a completely separate, OS-level, Windows-only mechanism answers HOW BUSY one is right now. OpenCL has no load query of its own.
Whichever device wins gets pinned explicitly via OPENCV_OPENCL_DEVICE before any OpenCL context is created, rather than trusting OpenCV's own default-device heuristic.
One caveat I'm not going to hide: the GPU Engine counter isn't broken down per-adapter, so on a multi-GPU box, "busiest instance found" stands in for "this specific GPU's load" not a precise per-adapter number. And every failure mode in this chain no OpenCL, no GPUs, everything over threshold, PDH failing, model load throwing falls back to CPU, logged, no crash.
view code: https://t.co/nezH3ek7Xd
The Follow-Up of NeuralX, Real-time video transmission pipeline with AI upscaling.
Frame Capturing, difference detection, motion detection, encoding, transport protocol, reciever reconstruction, AI upscaling and efficient rendering hardware selection.
Full thread in Profile.
12. AI Upscaling.
→The picture can be sharpened using AI, either using someone else's ready-made sharpening code on your CPU, or a version built specifically to run faster on your graphics card.
The AI upscaling now has two backends behind the same interface and they have genuinely different origins, worth being precise about which is which.
kCpuEigen is vendored, verbatim, thinkerleolee/FSRCNN-OpenCV's own https://t.co/qbEVl8ixSX and trained weights, calling their closed-source TensorConv.lib through Eigen::ThreadPoolDevice(8). That's copied code, not mine, credited accordingly (LGPL-3.0).
kOpenCLiGpu is my own integration, I wrote this against OpenCV's dnn_superres module, loading the same FSRCNN-s architecture from a portable .pb graph, run through cv::dnn with DNN_TARGET_OPENCL. Same network, different runtime target, my own C++ this time, not vendored.
Worth being exact about what "GPU" means here: DNN_TARGET_OPENCL runs on the CPU's integrated graphics, Intel UHD/Iris, AMD APU graphics via OpenCL. Not a discrete NVIDIA/CUDA card. Didn't want to overclaim that.
Every GPU failure mode is caught and falls back to CPU automatically, no OpenCL runtime present, OpenCL reported but wouldn't enable, or the model failed to load. Each case is logged, not silent, and the pipeline just keeps running on kCpuEigen. No crash, no missing frame.
Delta rects always stay on plain CPU bicubic regardless of backend too small to be worth a GPU round-trip either way.
view code: https://t.co/heJsJ4vJM2