Coder Social home page Coder Social logo

shoes-try-on-in-ar's Introduction

Shoes-Try-On-in-AR

  • 開發時間:2019/08/01 ~ 2019/12/31
  • 開發平台:Win 10, GTX 2070, i7-8700k
  • 開發工具:Python 3.7, Unity 2019.2.1, CMake 3.16.0
  • 開發環境:CUDA 10.0, cuDNN 7.5.0

本系統採用Server跟Client的方式互相傳遞訊息。
Server端(Python)運行OpenPose不斷的把骨架資訊以及影像傳遞給Client端(Unity),Client端接收到骨架資訊以及影像後,把影像顯示在一個平面上,並且把鞋子的3D模型套到腳掌上,讓使用者站在鏡頭前面就可以自由試鞋,還能一鍵換成其他雙鞋子試穿。


Demo

DEMO VIDEO-1

DEMO VIDEO-2


Quick Start

  1. Install OpenPose Python API. Check here
  2. Connect the webcam to your computer through USB.
  3. Run the Server. Navigate to openpose(clone root)/build(build name)/examples/tutorial_api_python folder, run python webcam.py.
  4. Run the Untiy project.

shoes-try-on-in-ar's People

Contributors

chang-chih-yao 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  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  avatar

shoes-try-on-in-ar's Issues

Unity doesn't work

1、Missing script. The following problem occurs. How to set the script?
The referenced script on this Behaviour (Game Object 'EventSystem') is missing!
The referenced script (Unknown) on this Behaviour is missing! etc
2、The following errors have been refreshed:
NullReferenceException: Object reference not set to an instance of an object
TCP.Start () (at Assets/Script/TCP.cs:202)
NullReferenceException: Object reference not set to an instance of an object
TCP.Update () (at Assets/Script/TCP.cs:226)
How to solve this problem, thank you

Low FPS

What can be the possible issue for frame lag in Unity and Python Frame??

How to add pybind11?

I have set up everything but it gives an error of pybind11

`Starting OpenPose Python Wrapper...
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
(540, 960, 3)
Wait for connection...
Client Info: <socket.socket fd=2272, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 9000), raddr=('127.0.0.1', 61761)> ('127.0.0.1', 61761)
emplaceAndPop(): incompatible function arguments. The following argument types are supported:
1. (self: pyopenpose.WrapperPython, arg0: std::vector<std::shared_ptrop::Datum,std::allocator<std::shared_ptrop::Datum > >) -> bool

Invoked with: <pyopenpose.WrapperPython object at 0x000001F2386CCA30>, [<pyopenpose.Datum object at 0x000001F2364714B0>]

Did you forget to #include <pybind11/stl.h>? Or <pybind11/complex.h>,
<pybind11/functional.h>, <pybind11/chrono.h>, etc. Some automatic
conversions are optional and require extra headers to be included
when compiling your pybind11 module.`

How to resolve this in windows?

webcam.py (Server) is not working

When I open it, it gives me error

Starting OpenPose Python Wrapper...
Auto-detecting all available GPUs... Detected 1 GPU(s), using 1 of them starting at GPU 0.
(480, 864, 3)
Wrong frame width or height! (need 960 for width and 540 for height)
480
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-oduouqig\opencv\modules\videoio\src\cap_msmf.cpp (434) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback

How can I solve it?

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.