Giter Club home page Giter Club logo

robustpalmroi's Introduction

Welcome to Leosocy's Hut 👋

visitors

Hi, I'm Leosocy 😎, a backend-engineer working at @ByteDance now. Beside's programming, I like watching TV series and game living📺🎬.

GIF

More about me...

  • 👨🏻‍💻 I’m currently working on tukun.
  • 📚 I’m currently learning technologies about BigData, such as Flink🐿, Kafka, Hive, Spark, etc.
  • 💬 Ask me about anything! I am happy to help and guide you.
  • 📫 How to reach me: [email protected] | Blog

Show some ❤️ by starring some of the repositories!

Leosocy's Github stats

⭐️ From Leosocy

robustpalmroi's People

Contributors

eddiebarry avatar leosocy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

robustpalmroi's Issues

Runtime error

' ' '

RuntimeError Traceback (most recent call last)
in
4 import io
5 with open('7.JPG', 'rb') as palm:
----> 6 roi_bytes = chain.process_image(palm)
7 roi = io.BytesIO(roi_bytes)
8 roi.show()

~/anaconda3/lib/python3.7/site-packages/robust_palm_roi-0.1.0-py3.7.egg/rpr.py in process_image(self, image)
62 self._lib.chain_process_bytes(self._chain, palm_data, len(palm_data),
63 roi_bytes, roi_bytes_max_size, roi_bytes_size, status)
---> 64 self._check_status(status)
65 return roi_bytes.raw[:roi_bytes_size.value]
66

~/anaconda3/lib/python3.7/site-packages/robust_palm_roi-0.1.0-py3.7.egg/rpr.py in _check_status(status)
68 def _check_status(status):
69 if status.raw[0] != 0:
---> 70 raise RuntimeError(status.raw[1:].decode())

RuntimeError:
' ' '

Python LoadLibrary error: "undefined symbol: _ZTIN4YAML13BadConversionE"

Hi, after successful installation library and python module, I run the python sample and got this error
`
Traceback (most recent call last):
File "/home/dacle/anaconda3/envs/dacle/lib/python3.8/site-packages/robust_palm_roi-0.1.0-py3.8.egg/rpr.py", line 27, in init
File "/home/dacle/anaconda3/envs/dacle/lib/python3.8/ctypes/init.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/home/dacle/anaconda3/envs/dacle/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/librobust-palm-roi.so: undefined symbol: _ZTIN4YAML13BadConversionE

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "samples/py_sample/run_sample.py", line 19, in
chain = HandlerChain(ALGORITHM_CONFIG)
File "/home/dacle/anaconda3/envs/dacle/lib/python3.8/site-packages/robust_palm_roi-0.1.0-py3.8.egg/rpr.py", line 30, in init
OSError: Library [librobust-palm-roi] not found.
Please see https://github.com/Leosocy/RobustPalmRoi/blob/master/README.md#Installation
`

Error on sudo make install step

First thanks for the library. I have been eagerly waiting for it.
Now to my issue, the compilation process is failing at sudo make install step

[  8%] Linking CXX shared library librobust-palm-roi.so
/usr/bin/ld: /usr/local/lib/libyaml-cpp.a(exceptions.cpp.o): relocation R_X86_64_32S against `_ZTVN4YAML9ExceptionE' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libyaml-cpp.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/robust-palm-roi.dir/build.make:403: recipe for target 'librobust-palm-roi.so.0.1.0' failed
make[2]: *** [librobust-palm-roi.so.0.1.0] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/robust-palm-roi.dir/all' failed
make[1]: *** [CMakeFiles/robust-palm-roi.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

在RobustPalmRoi/build中执行cmake ..,报错

错误信息如下:
cmake: /home/cwl/http/curl-7.71.1/_install/lib/libcurl.so.4: no version information available (required by cmake)
CMake Error at /usr/local/lib/cmake/yaml-cpp/yaml-cpp-config.cmake:49 (target_link_libraries):
Cannot specify link libraries for target "yaml-cpp" which is not built by
this project.
Call Stack (most recent call first):
CMakeLists.txt:25 (FIND_PACKAGE)
请问是什么原因呀?

error running sudo make install in RobustPalmRoi/build

Good day,
I am trying to use your ROI library. I have successfully installed yaml-cpp but getting error at sudo make install on RobustPalmRoi/build
Here is the snapshot of my error
image
I am working on ubuntu 20.04, python 3.8.10
Any guidance on how to resolve it will be greatly appreciated

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.