How to make script with Motion Tracking Funscript Generator

thank you so much

I have an issue with it tracking for more that 56 seconds. It stops at 56 second intervals. It isn’t scene change, I’ve tested it on different videos with scenes that are steady and continuous movement in the same direction… I can’t get this to track the motion for longer than a minute.

It must be a setting or something I’m doing wrong

Is there a sudden movement at 56 seconds mark? Sometimes the motion is so fast that the tracker lost it. Try setting speed to ‘‘0 (accurate)’’ will also help in that case.

I thought that too, and I did set that to accurate… had no effect

Where can I learn to do this aside from doing it manually.

MyTools has this feature

I think it’s the add actions option or something like that.

1 Like
1 Like

where can i find the “simplify” function in OFS ?

Is there a way to make the graph segment taller as default?
Now it’s required to manually resize this window every time.

We using lot of screen place for a single slider right now…

smaller box will be faster than bigger box,but bigger box is more useful。I think the most important things is which part to track。

If the feature is very clear and doesn’t change too much, small box is generally better. For example, if there is a ring worn on the actor’s index finger, track that ring. If the actor had trimmed pubic hair, track the hair. Tanned? Track the bikini tan lines.

If there isn’t a clear feature, you’ll have to use a bigger box. For example you may want to include the whole ass for a doggy scene.

2 Likes

useful,i will try it,thx

can i use AI like goturn with it?

can i use AI like goturn with it?

yes should be possible with a small code adjustment. By adding the following to the setup_tracker function:

elif self.params.tracking_algorithm.upper() == 'GOTURN':
    self.logger.info("Start GOTURN Tracker")
    self.tracker = cv2.TrackerGOTURN_create()

You may have to store the network weights in your PATH. Finally you can enable the model in the settings.yaml

1 Like

when tracking y axis and roll, the y axis gets added but the roll axis does not even though both are processed. how would i go about getting the roll inserted?

Check Enable multiaxis here, and map o x to your .roll script.

Select x + y as the tracking Metric

You can use roll but I tend to choose x because I found it producing more significant results.

2 Likes

ahh. silly me. in the selection area, i had the wrong axis set for roll. i actually had (Y) set for both y and roll lol
thank you though for the help.

1 Like

Something I skipped in the tutorial that may be useful:

Direction Changed - If the results are of varying amplitude, and “local min max” filtered out the snaller waves, “direction changed” can be more helpful in that case.

Filter Length - If there is a fixed rhythm to the actions (usually happens with animated works), leaving this number higher can help equalizing the intervals. If you don’t want the actions to be equalized, turn it down to 0.

1 Like

what about just track x than map the action to roll? how to deal pitch, I am confused

It can work. As long as the result is fine after some adjustments.

Manual scripting.