Unreal How to Feed Images into Open CV Lens Distortion Calibrator

I’m currently trying to use the OpenCv Lens Distortion plugin that comes installed by default with the Virtual Production example in Unreal 4.27 to try and create a camera undistortion texture for my camera. So far I have had no issue getting this to work with by manually setting the lens distortion parameters (K[1-6], P1, P2, etc.) but now I want to automatically generate this data using a series of images from my camera. To do this I threw together a blueprint (couldn’t get access to OpenCV from C++ scripts) that takes a directory, grabs all jpg files and feeds them into the calibrator.

enter image description here

Unfortunately no matter what I try the calibrator refuses to accept any of my test images, and since this is a blueprint I can’t really debug the problem any more, all I know is that the FeedImage node returns false for every image. I’ve tried searching for documentation or tutorials using OpenCV Lens Distortion but for some reason it is a completely undocumented feature besides a couple pages saying the nodes exist and 2 or 3 questions on this answer hub asking how to turn the distortion variables into a texture. If anyone knows what I might be missing please let me know.

enter image description here

Just for reference, here is a sample of one of my test images:

  • Board Width: 10
  • Board Height: 7
  • Square Size: 3.2727 cm

I was able to get OpenCV working directly in another program using a python script but I would like to have this working in Unreal to minimize the amount of programs needed. Obviously the functions are difference since Python deals directly with OpenCv while Unreal is using a blueprint wrapper but at least I know the images and calibrator settings should be valid.

I also want to mention I saw the Lens Distortion plugin mentioned in this post, but unfortunately it does not seem to have the ability to accept images to generate a lens distortion model, it simply builds one using the k1, k2, k3, p1, p2 parameters and camera matrix values.

How to remap one of the TinyMCE Advanced Editor button to open the wordpress media library?

I am using the TinyMCE advanced editor for my WordPress site. I want the users in the frontend to be able to upload images using the WordPress media gallery, and for this purpose I would like to remap the Insert/edit image button, or add a new button (whichever is more feasible) to open the WordPress media gallery, so that the Authors can add captions and alt text to their images:

enter image description here

I have been searching on the internet about this, but haven’t found anything fruitful yet.

Can someone help in this regard?

From a game design point of view, what are the implications of using realistic distances in an open world map?

I’m starting an open world game and the plan is to have a single "open world" map that should contain a medieval citadel (1.4 km/2 – taking as example Palmanova in Italy) and some countryside around it.

The plan is to delimit the map with a river and some hills.

What I realized so far is that most open-world games take a specific approach when it comes to size their areas, it’s unlikely you’ll ever find a realistically sized citadel, they will tend to be all pretty small, and it will take no more than a few minutes to run from one side to the other of it.

An example that comes to mind is The Witcher 3, the Novigrad/Velen map is 15.2 km2 but the city is approx 0.25km2, which is a lot smaller than what I plan to build for my map.

To walk from one side to the other of my citadel the player should take around 15 minutes (according to Google Maps), while, as I said, in most games you can run through a city in a matter of 1 or 2 minutes.

Keep in mind there will be no vehicles and I’d still like to have the countryside take most of the map area to keep everything proportioned and realistic.

The question is, is it a good idea to build such a "large" citadel? What gameplay issues could I face? How should I handle the fact that the countryside will end up being extremely huge (and empty?) if I want to keep it properly proportioned with the citadel?

If all links on my site open in new tabs, will it affect analytics or SEO?

I’m working on a site where all links in the body of the pages open to a new tab. Generally I see external links open to a new tab but internal in the same tab. Wondering if this can still fall within a best practice.

Seems like it shouldn’t affect Analytics (new session), but wondering if there are SEO ramifications. Do you see higher bounce rates on sites that do this? If someone is opening multiple tabs, does looking at a user’s path through your site become muddied?

Could use some feedback on the pros/cons. Thanks!

“ORA-01109: database not open” when trying to open a database

Everything I can find about ORA-01109 says "run alter pluggable database XXX open;", but I’m getting ORA-01109 when running that command!

select name, open_mode from v$ containers;

NAME         OPEN_MODE  ------------ ---------- CDB$  ROOT     MOUNTED    PDB$  SEED     MOUNTED    XEPDB1       MOUNTED 

alter pluggable database cdb$ root open;

Error starting at line : 2 in command - alter pluggable database cdb$  root open Error report - ORA-01109: database not open 01109. 00000 -  "database not open" *Cause:    A command was attempted that requires the database to be open. *Action:   Open the database and try the command again 

How to increase number of open connections for mongoDB from clients (C#)

mongoDB v4.0.4 >> replica set of 3 nodes (not sharded)

Previously

su - mongo7937 No directory, logging in with HOME=/ $   ulimit -Hn 1048576 $   ulimit -Sn 1024 $    cat /etc/pam.d/common-session | grep pam_limits.so  cat /etc/sysctl.conf | grep fs.file-max 

changed to

su - mongo7937 No directory, logging in with HOME=/ $   ulimit -Hn 1048576 $   ulimit -Sn 64000 $    cat /etc/pam.d/common-session | grep pam_limits.so session required        pam_limits.so  cat /etc/sysctl.conf | grep fs.file-max fs.file-max = 2097152  sysctl -p 

So earlier my max number of connections were limited to 818 which is 80% of 1024. As per recommendation from mongoDB documentation I’ve increased the limit to 64000 but still when mongo c# client reaches max open connections to 818, my mongoDB abruptly stopping.

Is there working command set for c sharp driver to limit number of connection client end ? because whatever we tried is not working, can someone share if that is working for you.

Else can someone tell me the right steps to limit number of open connections from mongoDB side and at server user level.

PLEASE HELP! Can not open shop page in wordpress [closed]

I can not open the (woocommerce) shop page in wordpress. It says "the preview could not be loaded".

After deactivating all plugins, I can view the page after installing Woocommerce, but not after installing Elementor.

I changed my theme, contacted the host regarding any redirects or hosting problems, but didn’t find any.

I searched many articles about it but really do not know, what else I should do. Any advice or experiences?

Thanks a lot! Best regards, Christina

wp-blog-header.php): failed to open stream: No such file or directory in /home/

Need help with current error below. WP website is down and cannot even login to WP-admin. Anyone available to help resolve problem?

Warning: require(/home/mdvince/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/mdvince/public_html/index.php on line 17

Fatal error: require(): Failed opening required ‘/home/mdvince/public_html/wp-blog-header.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/mdvince/public_html/index.php on line 17