Skip to content

ROI detection when Object/stimulus animal is in the ROI? #964

Discussion options

You must be logged in to vote

Heya!

Two related solutions:

  • Use backgroundSubtraction with a very small adaptation rate (i would probably start with 0 actually) and play with the subtract method to check what gives you the best results.

  • Alternatively, you could do your own motion detector by taking the difference between two frames. In its simplest form it would look something like this in Bonsai:

Hope it helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Brandon-Fricker
Comment options

Answer selected by Brandon-Fricker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants