
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/291d1e97-ed0d-4113-98e1-0d685968b85f%40googlegroups.com.
Hi Søren and welcome to the forums.The only issue with your workflow is that there was no property selected in the PropertyMapping node going into AddTextbox. If you double-click on it and add the Text property to the list, it should work (you may have to add a Format node before to convert the number into a string).However, often I separate visualization and online annotations from the rest of the processing workflow, to make the workflow cleaner, something like this:This way you could even group the entire visualization workflow into its own group and then go on to process the video like normal.Hope this helps.
On Fri, 27 Mar 2020 at 15:46, Søren HJ <shj...@gmail.com> wrote:
--Hi Gonçalo
I'm wondering if there is a way to write timestamps from a camera directly onto a video - so that each timestamp is placed in a textbox on the corresponding frame of the video.
I have tried to achieve this by using DrawCanvas and AddTextBox - but I can only get static text in the AddTextBox. I hope you can help me solve this.Best regardsSøren
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai...@googlegroups.com.
Hi Søren and welcome to the forums.The only issue with your workflow is that there was no property selected in the PropertyMapping node going into AddTextbox. If you double-click on it and add the Text property to the list, it should work (you may have to add a Format node before to convert the number into a string).However, often I separate visualization and online annotations from the rest of the processing workflow, to make the workflow cleaner, something like this:This way you could even group the entire visualization workflow into its own group and then go on to process the video like normal.Hope this helps.
On Fri, 27 Mar 2020 at 15:46, Søren HJ <shj...@gmail.com> wrote:
--Hi Gonçalo
I'm wondering if there is a way to write timestamps from a camera directly onto a video - so that each timestamp is placed in a textbox on the corresponding frame of the video.
I have tried to achieve this by using DrawCanvas and AddTextBox - but I can only get static text in the AddTextBox. I hope you can help me solve this.Best regardsSøren
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/162e8d21-0d34-4a8b-bfdb-0ef5faa6041a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/162e8d21-0d34-4a8b-bfdb-0ef5faa6041a%40googlegroups.com.
First, Soren's method (top, disabled):- Is the pixel size of the image shown in AddImage (WxH = 640 x 480)? Can we change the pixel size of the image to whatever size we want? Originally, the pixel size of the image was set to 1920 x 1080.
Does the Size (PropertyMapping) node take the pixel size (WxH) from the Image node and set CreateCanvas pixel size to be the same?
Does the Image(PropertyMapping) node take the image of each frame from the VideoCaptureDevice > Image node and add the frame of image onto the canvas?
Does the Format > Text node add the timestamp text to the canvas?
- Is there a way to display the timestamp with the date+hh:mm:ss.ssss. Currently, it only displays date+hh:mm:ss.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/417667aa-bde1-4adc-9542-a9c56d3f2a55%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/417667aa-bde1-4adc-9542-a9c56d3f2a55%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/652b75e2-4a70-4668-9525-57aa8fc044b3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/652b75e2-4a70-4668-9525-57aa8fc044b3%40googlegroups.com.
- Zip: When I use Show Visualizer to look at the Object the node is carrying, it shows the parameters of the image and the timestamp. I assume Zip does not actually carry the image frame itself. If so, how does the following node, CombineTimestamp, access the image when the image was skipped in the Zip node?
- The description for CombineTimestamp says the node "converts a tuple of element and timestamp into a proper timestamped type." Based on this code, I can see that one of the "elements" can be video images. What other "elements" can be used with CombineTimestamp to produce a proper timestamped type?
- TakeUntil: It appears that CombineTimestamp and TakeUntil carry both the image and the timestamp so that the image and timestamp can be published by MakeTimestampImage. Am I correct to understand that CombineTimestamp and TakeUntil is replacing CameraCapture > Timestamp > MakeTimestampImage from the previous code?
- How does TakeUntil operate on a node (i.e., MakeTimestampImage) that comes after it? In general, when can a node operate on nodes that come after it?
- I have figured out that I can move the coordinate position of the stamped timestamp on the video by changing the property Origin of AddText.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/dd3d1e28-a67e-4e5f-b2cc-f88fbb091bfb%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/dd3d1e28-a67e-4e5f-b2cc-f88fbb091bfb%40googlegroups.com.