dual-camera-edof icon indicating copy to clipboard operation
dual-camera-edof copied to clipboard

HUAWEI FIG-LX1 is not supported

Open AlexElkin1972 opened this issue 6 years ago • 3 comments

Hello there,

I've found images from HUAWEI FIG-LX1 (p smart) are not supported. The script fails to iterate every segment and stops on the first one. I've managed to modify the script to export EDOF anyway adding two commands: L118: idx_hack = data.find(bytes([0x00, 0x65, 0x64, 0x6f, 0x66, 0x00])) - 3 L119: return extract_edof(data, idx_hack, fname)

But root cause relates with segment iteration. I'm providing example of p smart image img_20180802_225734 and extracted EDOF map img_20180802_225734-edof

-- WBR, Alex

AlexElkin1972 avatar Aug 05 '18 02:08 AlexElkin1972

I can not run normally and get nothing

luomomo avatar Feb 12 '19 07:02 luomomo

Which model?

jpbarraca avatar Feb 12 '19 08:02 jpbarraca

Which model? I can only get the origin image using -p but nothing happens with -v or -e Is this because the image I get is taken from P20 instead of P9?

luomomo avatar Feb 12 '19 09:02 luomomo