WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-05-2022, 06:55 AM
ZyZhu ZyZhu is offline
Registered User
 
Join Date: Jan 2022
Posts: 1
Best practice to generate a video dataset with Vizard?

Hi friends!

I have been using Vizard to run behavioral studies on human participants, and now I am trying to use the same visual displays to train an deep learning artificial neural network. However, to do that, I need ways to export thousands of video clips (each is 1-2 seconds long). Ideally, I would need access to the underlying RGB value of each pixel for each frame. I'm wondering if there is any way to do this in Vizard? Do you have any suggestions about the best practice to do it? I would appreciate any feedback. Thank you so much!
Reply With Quote
  #2  
Old 09-22-2022, 10:31 AM
apenngrace apenngrace is offline
Member
 
Join Date: May 2015
Posts: 13
What is the source of each frame of your videos? Is it from a camera, or is it something you are generating?

Do you need actual video clips, or do you need just series of images saved to disk? Is this real-time or can you take as long as you want per frame? Is this a one-off thing?

If you just need to test, try PILLOW for accessing the images and individual pixels. If you want to accelerate performance with GPU, I'd be thinking about pyOpenCL or pyCuda probably.

If you have a bunch of images on disk, or just image buffers in memory, I'd be thinking about using ffmpeg to compress that into a video file of some sort.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading and running raw frames of video in Vizard pitbool Vizard 2 04-06-2017 10:31 PM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 10:46 AM
synching video camera recording with vizard billjarrold Vizard 0 12-15-2009 11:43 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Displaying live video in Vizard? Deltcho Vizard 2 01-04-2008 11:05 AM


All times are GMT -7. The time now is 07:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC