Giter Site home page Giter Site logo

raspicam's People

Contributors

manalito avatar rmsalinas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspicam's Issues

Cannot get a smaller sized image that is full frame

Howdy, when I do

    Camera.setWidth ( 192 ); 
    Camera.setHeight ( 128 );

I get a tiny part of the middle of the sensor, when I'd like the full frame scaled down to 192x128

raspistill -w 192 -h 128 -o /tmp/raspicam_image.jpg does this fine, but this library does not.

Is there a way to get the library to scale down the image, or do I have to do it myself in code?

Thanks,
Marc

Missing Still functions:

    void RaspiCam_Still::setShutterSpeed(unsigned int ss) {
        _impl->setShutterSpeed(ss);
    }
    void RaspiCam_Still::setAWB_RB(float red_g, float blue_g) {
        _impl->setAWB_RB(red_g, blue_g);
    }

High cpu load

Hello, I'm using Camera V1.3 on Raspbrry Pi 4B, grab 1600x1200 CV_8UC3 18fps

it's take about 80% CPU usage(single core I think), is 80% normal?

Missed Private_Impl::getVideoStabilization

In Private_Impl class defined function setVideoStabilization, and this function param setted to State.videoStabilisation.
But, in Private_Impl not defined getVideoStabilization.

If necessary, i can create a merge request with the necessary changes.

Sorry for my bad english.

still mode problem

still mode in camera V2.1 seems has a problem.
when capturing starts after a while it can not grab any other frame

High Quality Camera

I recently got a few of the high quality camera sensors. Is there any support for this? When I use these sensors, I still get the 1280 × 960 images.

3 fixes for simpletest_raspicam.cpp on raspbian

Hi,

I just checked out the latest version on raspbian/rPi4.
The included example works fine, but when I tried to compile the sample code given on
http://www.uco.es/investiga/grupos/ava/node/40

  1. sleep is not found, I had to add
    #include <unistd.h>

  2. build is missing -L/opt/vc/lib/. I had to build with
    g++ simpletest_raspicam.cpp -o simpletest_raspicam -I/usr/local/include -L/opt/vc/lib/ -lraspicam -lmmal -lmmal_core -lmmal_util

  3. runtime warning

root@rPi4b:~/raspicam/example# ./simpletest_raspicam 
Opening Camera...
Sleeping for 3 secs
/root/raspicam/src/private/private_impl.cpp:179 :Private_Impl::retrieve type is not RASPICAM_FORMAT_IGNORE as it should be
Image saved at raspicam_image.ppm

not sure what the fix should be, but the ppm file works, so that's the important part

mmal_component_create_core: could not find component 'vc.ril.camera'

I am using raspbery Pi 4 SoC with Ubuntu 20.10 64bit OS and trying to use raspberry Pi HD Camera.

I am able to compile 'raspicam' and below example code successfully, but when I am running this test code it gives me error.
`

#include <raspicam/raspicam.h>
#include <raspicam/raspicamtypes.h>

int main()
{
raspicam::RaspiCam camera;
camera.open(true);
camera.grab();
return 0;
}
`

Error

mmal_component_create_core: could not find component 'vc.ril.camera'

On the same configuration I am able to run raspistill without any issues so camera is working fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.