Giter Club home page Giter Club logo

Comments (5)

km9mn avatar km9mn commented on August 11, 2024 1

어렵다면 voila나 streamlit을 활용해서라도?

from final-project-level3-cv-09.

jeongjae96 avatar jeongjae96 commented on August 11, 2024 1

altair 라이브러리를 이용하여 streamlit에서 실시간으로 그래프를 plot할 수 있도록 구현하였으나, graph를 plot하는데 걸리는 시간이 cpu 성능마다 차이가 있는 것으로 보인다. 비디오와 싱크를 맞추기 위해 방법이 필요하다.

from final-project-level3-cv-09.

jeongjae96 avatar jeongjae96 commented on August 11, 2024

Video autoplay를 사용하기 위해선 html 형식의 video play를 사용하면 가능할 것 같다. 하지만 우리가 가지고 있는 비디오는 html에 compatible한 codec이 아닌지 재생이 안 된다. python-video-converter 를 사용해 변환이 가능할까?

from final-project-level3-cv-09.

jeongjae96 avatar jeongjae96 commented on August 11, 2024

altair 라이브러리를 이용하여 streamlit에서 실시간으로 그래프를 plot할 수 있도록 구현하였으나, graph를 plot하는데 걸리는 시간이 cpu 성능마다 차이가 있는 것으로 보인다. 비디오와 싱크를 맞추기 위해 방법이 필요하다.

frame 단위로 그래프 출력하던 것을 time(seoncds)로 변환.
time.sleep(1 - process_time)으로 실행 시간을 고려해 sleep을 사용해서 싱크 문제가 해결된 듯 하다.

from final-project-level3-cv-09.

jeongjae96 avatar jeongjae96 commented on August 11, 2024

Video autoplay를 사용하기 위해선 html 형식의 video play를 사용하면 가능할 것 같다. 하지만 우리가 가지고 있는 비디오는 html에 compatible한 codec이 아닌지 재생이 안 된다. python-video-converter 를 사용해 변환이 가능할까?

코덱의 문제가 아닌 html 형식으로 코드 작성 시, 파일의 경로를 서버 상에서 찾는 듯하다. 서버 상의 경로와 로컬 경로가 다르니 발생한 문제였던 것으로 추정된다. file uploader를 이용해 upload를 한 뒤, 사용하는 방식으로 진행해 보고자 한다.

https://docs.streamlit.io/knowledge-base/using-streamlit/where-file-uploader-store-when-deleted

from final-project-level3-cv-09.

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.