Comments (6)
Hi @menor22 ,
I haven't tried calibrating with cropped frames, it might work. Let me know if you try it out!
However, it is better to calibrate with the full view and crop only when recording, as calibration performs better on the full camera view. In addition, this allows you to reuse the same calibration videos with different cropping for behavior.
For specifying camera offsets when cropping for behavior recording, you can do so in the config.toml file.
An example configuration (for three cameras named "A", "B", and "C"):
[cameras.A]
offset = [36, 165] # x, y offset from top left corner
[cameras.B]
offset = [279, 310]
[cameras.C]
offset = [92, 98]
Let me know if that makes sense.
from anipose.
Hi @menor22 ,
Have you tried this out? Did it work?
from anipose.
I think the original question is answered, but this should really be part of the documentation, so I am leaving it open for now.
from anipose.
Hi,
maybe it's a silly question, but...
How do I specify different starting point for cropping offset? I have videos of two rats that are cropped in the middle and it's obvious when I want to set the offset for the rat on the left, but have no idea how to do that for the one on the right. Let's say one has a compartment that starts at 0 and the other one is in a compartment that starts at 500 px. How do I specify it in config file?
Edit: I solved that. Didn't realize before that offset takes 4 values. Still for some reason I have a problem with offset of points in the 'right' part of the cage. Seems to be there only for cropped videos, when I have a full view it works fine.
from anipose.
@KonradDanielewski this is really a long time ago, but you only need to specify the top-left corner of your crop for the offset.
The width and height of the crop are irrelevant from a triangulation perspective as they don't actually change the coordinates
from anipose.
I'll just close this now, but feel free to reopen if you feel it hasn't been answered properly
from anipose.
Related Issues (20)
- Reverse triangulation HOT 3
- Error with Anipose Label-3d command HOT 6
- label-3d video upside down HOT 4
- Issue with 'anipose calibrate' step during hand tutorial
- Why does the command anipose label-3d-filter only display 3d annotated videos? ... But there is no result output. HOT 2
- Issue with anipose analyze: 'device_spec' HOT 4
- Triangulation Gaps in Unfilled Demo
- ERROR in using Anipose Analyze
- Calibrate delivering widely different results from the same detections HOT 8
- anipose calibrate HOT 4
- Error in Calibration HOT 2
- How to Utilize GPU for Anipose HOT 1
- Anipose Label-3D 'traitsui.toolkits'
- Anipose tutorial
- error in anipose filter command if turn [filter] parameter for 'True' HOT 4
- anipose label-3d slows down after the first video
- How to use Sleap 2D coordinates output with Anipose HOT 2
- draw-calibration returns a different pattern HOT 1
- I encountered the following problem when performing the anipose filter step. It was still running successfully a month ago
- I encountered the following situation when running anipose angles. If there are no these parameters, an error will be reported. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anipose.