Comments (6)
Hi, sorry for the late reply.
Do you have OpenPose properly installed on your device?
If you don't, this is a notebook that walks you through the whole process (include installing OpenPose) to get this project up and running.
Please tell me if the issue is solved!
from ai-basketball-analysis.
Same problem, ubuntu 18.04.
from ai-basketball-analysis.
I solve the problem. Compile the source (I use the release 1.7.0 and python 3.7) and then copy the compiled pyopenpose.cpython-37m-x86_64-linux-gnu.so to folder OpenPose/openpose
and change the code src/utils.py about Line 135 from
opWrapper.emplaceAndPop([datum])
to
opWrapper.emplaceAndPop(op.VectorDatum([datum]))
Please access my openpose blog for details.
from ai-basketball-analysis.
Hi @xugaoxiang,
Thanks a lot for the information! I will update the instructions on my repo following your solution.
The compilation of OpenPose is always troublesome, I'm glad that you could figure out the solution.
It seems like there's no efficient way to share a project that included OpenPose, recompiling is always required.
from ai-basketball-analysis.
This is a great project, thank you.
from ai-basketball-analysis.
I solve the problem. Compile the source (I use the release 1.7.0 and python 3.7) and then copy the compiled pyopenpose.cpython-37m-x86_64-linux-gnu.so to folder OpenPose/openpose
and change the code src/utils.py about Line 135 from
opWrapper.emplaceAndPop([datum])
to
opWrapper.emplaceAndPop(op.VectorDatum([datum]))
Please access my openpose blog for details.
Thanks!
Note that app_helper.py also requires:
detection, trace = detect_shot(img, trace, width, height, sess, image_tensor, boxes, scores, classes,
num_detections, previous, during_shooting, shot_result, fig, datum, opWrapper, shooting_pose, op)
(The addition of an op arg)
which can be obtained by
datum, opWrapper, op = openpose_init()
(need to alter openpose_init for this)
from ai-basketball-analysis.
Related Issues (18)
- what did you use to draw the project structure ? HOT 1
- Problem in running !python app.py
- No module named 'OpenPose.Release.pyopenpose' HOT 8
- Video and camera characteristics
- Could you provide the dadasets of basketball and basketball hook?
- Dataset HOT 2
- I can't run this file HOT 1
- How you can get frozen_inference_graph.pb?
- Facing some errors and dont konw how to solve it
- ERROR: Unable to extract uploader id;
- erro๏ผ import OpenPose.Release.pyopenpose as op ImportError: DLL load failed:
- ERROR: Cannot install -r requirements.txt (line 2) and werkzeug==0.16.0 because these package versions have conflicting dependencies. HOT 1
- Wrong when object not detected HOT 2
- Too slow on web server HOT 9
- In windows 10 64 bit os : problem with OpenPose HOT 3
- Dataset HOT 4
- AI basketball analysis on google colab HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-basketball-analysis.