Coder Social home page Coder Social logo

Comments (4)

tumuyan avatar tumuyan commented on May 19, 2024 1

Sorry, I'm not good with Linux shells or termux, using a sh script is a good way.
I guess if you add export LD_LIBRARY_PATH= 'your ncnn.so path' ; to the command might be useful

from realsr-ncnn-android.

tumuyan avatar tumuyan commented on May 19, 2024

it prints “decode image image.jpg failed”, I
think the image has a jpg suffix but it is not a real jpg file. you could use mediainfo to see its real format, or change input file.

from realsr-ncnn-android.

FalconSN avatar FalconSN commented on May 19, 2024

Okay, this has gotten weird. Looked at the image format with mediainfo as you said, and it was JPEG. Then used the first script which had threw fopen failed and decode image failed errors earlier, on the very same picture but this time in /sdcard/Pictures directory, and it just worked. First attempt was in Termux home directory, and wanted to see if it will still print the same errors. Copied the file to Termux home, and guess what? Same errors. I don't really mind about this issue, however; realsr-ncnn being uncallable from another directory still persists.

from realsr-ncnn-android.

FalconSN avatar FalconSN commented on May 19, 2024

I guess if you add export LD_LIBRARY_PATH= 'your ncnn.so path' ; to the command might be useful

Yeah... I didn't know anything about this environment variable. It does help, thank you.

from realsr-ncnn-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.